Remove an unused PageGroup function
authorandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 21 Jan 2014 02:25:23 +0000 (02:25 +0000)
committerandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 21 Jan 2014 02:25:23 +0000 (02:25 +0000)
https://bugs.webkit.org/show_bug.cgi?id=127327

Reviewed by Andreas Kling.

* WebCore.exp.in:
* page/PageGroup.cpp:
* page/PageGroup.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162396 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/WebCore.exp.in
Source/WebCore/page/PageGroup.cpp
Source/WebCore/page/PageGroup.h

index b8f0090..67c4787 100644 (file)
@@ -1,5 +1,16 @@
 2014-01-20  Anders Carlsson  <andersca@apple.com>
 
+        Remove an unused PageGroup function
+        https://bugs.webkit.org/show_bug.cgi?id=127327
+
+        Reviewed by Andreas Kling.
+
+        * WebCore.exp.in:
+        * page/PageGroup.cpp:
+        * page/PageGroup.h:
+
+2014-01-20  Anders Carlsson  <andersca@apple.com>
+
         Move user style sheet handling to UserContentController
         https://bugs.webkit.org/show_bug.cgi?id=127322
         <rdar://problem/15861296>
index becd155..7409610 100644 (file)
@@ -1360,7 +1360,6 @@ __ZN7WebCore9PageGroup14addVisitedLinkEPKtm
 __ZN7WebCore9PageGroup16syncLocalStorageEv
 __ZN7WebCore9PageGroup17closeLocalStorageEv
 __ZN7WebCore9PageGroup18addVisitedLinkHashEy
-__ZN7WebCore9PageGroup18numberOfPageGroupsEv
 __ZN7WebCore9PageGroup20addUserScriptToWorldERNS_15DOMWrapperWorldERKN3WTF6StringERKNS_3URLERKNS3_6VectorIS4_Lm0ENS3_15CrashOnOverflowEEESE_NS_23UserScriptInjectionTimeENS_25UserContentInjectedFramesE
 __ZN7WebCore9PageGroup20removeAllUserContentEv
 __ZN7WebCore9PageGroup21removeAllVisitedLinksEv
index 0916954..ca2b3ef 100644 (file)
@@ -160,14 +160,6 @@ void PageGroup::syncLocalStorage()
     }
 }
 
-unsigned PageGroup::numberOfPageGroups()
-{
-    if (!pageGroups)
-        return 0;
-
-    return pageGroups->size();
-}
-
 void PageGroup::addPage(Page& page)
 {
     ASSERT(!m_pages.contains(&page));
index f3c697b..d709944 100644 (file)
@@ -66,8 +66,6 @@ namespace WebCore {
         // DumpRenderTree helper that triggers a StorageArea sync.
         static void syncLocalStorage();
 
-        static unsigned numberOfPageGroups();
-
         const HashSet<Page*>& pages() const { return m_pages; }
 
         void addPage(Page&);