Title: [113716] trunk/Source/WebCore
Revision
113716
Author
commit-qu...@webkit.org
Date
2012-04-10 08:32:18 -0700 (Tue, 10 Apr 2012)

Log Message

Remove the unused function WebCore::toIconIndex
https://bugs.webkit.org/show_bug.cgi?id=83037

Patch by Dinu Jacob <dinu.ja...@nokia.com> on 2012-04-10
Reviewed by Kentaro Hara.

* WebCore.order:
* dom/IconURL.cpp:
* dom/IconURL.h:
(WebCore):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (113715 => 113716)


--- trunk/Source/WebCore/ChangeLog	2012-04-10 15:25:53 UTC (rev 113715)
+++ trunk/Source/WebCore/ChangeLog	2012-04-10 15:32:18 UTC (rev 113716)
@@ -1,3 +1,15 @@
+2012-04-10  Dinu Jacob  <dinu.ja...@nokia.com>
+
+        Remove the unused function WebCore::toIconIndex
+        https://bugs.webkit.org/show_bug.cgi?id=83037
+
+        Reviewed by Kentaro Hara.
+
+        * WebCore.order:
+        * dom/IconURL.cpp:
+        * dom/IconURL.h:
+        (WebCore):
+
 2012-04-10  Pavel Feldman  <pfeld...@chromium.org>
 
         Web Inspector: make error a string on the front-end side, not an object.

Modified: trunk/Source/WebCore/WebCore.order (113715 => 113716)


--- trunk/Source/WebCore/WebCore.order	2012-04-10 15:25:53 UTC (rev 113715)
+++ trunk/Source/WebCore/WebCore.order	2012-04-10 15:32:18 UTC (rev 113716)
@@ -14180,7 +14180,6 @@
 __ZN7WebCore11FrameLoader8iconURLsEi
 __ZN7WebCore11FrameLoader11fillIconURLENS_8IconTypeEPN3WTF6VectorINS_7IconURLELm1EEE
 __ZNK7WebCore8Document7iconURLENS_8IconTypeE
-__ZN7WebCore11toIconIndexENS_8IconTypeE
 __ZN7WebCore11FrameLoader17getDefaultIconURLENS_8IconTypeE
 -[ScrollbarPainterControllerDelegate inLiveResizeForScrollerImpPair:]
 __ZN7WebCore14FrameSelection17modifyMovingRightENS_15TextGranularityE

Modified: trunk/Source/WebCore/dom/IconURL.cpp (113715 => 113716)


--- trunk/Source/WebCore/dom/IconURL.cpp	2012-04-10 15:25:53 UTC (rev 113715)
+++ trunk/Source/WebCore/dom/IconURL.cpp	2012-04-10 15:32:18 UTC (rev 113716)
@@ -33,27 +33,6 @@
 
 namespace WebCore {
 
-size_t toIconIndex(IconType type)
-{
-    size_t index = 0;
-    switch (type) {
-    case Favicon:
-        index = 0;
-        break;
-#if ENABLE(TOUCH_ICON_LOADING)
-    case TouchPrecomposedIcon:
-        index = 1;
-        break;
-    case TouchIcon:
-        index = 2;
-        break;
-#endif
-    default:
-        ASSERT_NOT_REACHED();
-    }
-    return index;
-}
-
 IconURL IconURL::defaultIconURL(const KURL& url, IconType type)
 {
     IconURL result(url, emptyString(), emptyString(), type);

Modified: trunk/Source/WebCore/dom/IconURL.h (113715 => 113716)


--- trunk/Source/WebCore/dom/IconURL.h	2012-04-10 15:25:53 UTC (rev 113715)
+++ trunk/Source/WebCore/dom/IconURL.h	2012-04-10 15:32:18 UTC (rev 113716)
@@ -77,9 +77,6 @@
 
 typedef Vector<IconURL, ICON_COUNT> IconURLs;
 
-// Returns the index of the given type, 0 is returned if the type is invalid.
-size_t toIconIndex(IconType);
-
 }
 
 #endif // IconURL_h
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to