Title: [119477] trunk/Source/WebCore
Revision
119477
Author
[email protected]
Date
2012-06-05 03:25:59 -0700 (Tue, 05 Jun 2012)

Log Message

Remove unused methods from SelectorQuery.h
https://bugs.webkit.org/show_bug.cgi?id=88289

Reviewed by Antti Koivisto.

This patch removes SelectorDataList::size() and
SelectorDataList::SelectorDataList().
SelectorDataList::size() is not used by anybody.
SelectorDataList::SelectorDataList() can be auto-generated
by a compiler.

No tests. No change in behavior.

* dom/SelectorQuery.cpp:
* dom/SelectorQuery.h:
(SelectorDataList):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (119476 => 119477)


--- trunk/Source/WebCore/ChangeLog	2012-06-05 09:55:17 UTC (rev 119476)
+++ trunk/Source/WebCore/ChangeLog	2012-06-05 10:25:59 UTC (rev 119477)
@@ -1,3 +1,22 @@
+2012-06-05  Kentaro Hara  <[email protected]>
+
+        Remove unused methods from SelectorQuery.h
+        https://bugs.webkit.org/show_bug.cgi?id=88289
+
+        Reviewed by Antti Koivisto.
+
+        This patch removes SelectorDataList::size() and
+        SelectorDataList::SelectorDataList().
+        SelectorDataList::size() is not used by anybody.
+        SelectorDataList::SelectorDataList() can be auto-generated
+        by a compiler.
+
+        No tests. No change in behavior.
+
+        * dom/SelectorQuery.cpp:
+        * dom/SelectorQuery.h:
+        (SelectorDataList):
+
 2012-06-05  Kent Tamura  <[email protected]>
 
         Build fix for r119470.

Modified: trunk/Source/WebCore/dom/SelectorQuery.cpp (119476 => 119477)


--- trunk/Source/WebCore/dom/SelectorQuery.cpp	2012-06-05 09:55:17 UTC (rev 119476)
+++ trunk/Source/WebCore/dom/SelectorQuery.cpp	2012-06-05 10:25:59 UTC (rev 119477)
@@ -35,10 +35,6 @@
 
 namespace WebCore {
 
-SelectorDataList::SelectorDataList()
-{
-}
-
 void SelectorDataList::initialize(const CSSSelectorList& selectorList)
 {
     ASSERT(m_selectors.isEmpty());

Modified: trunk/Source/WebCore/dom/SelectorQuery.h (119476 => 119477)


--- trunk/Source/WebCore/dom/SelectorQuery.h	2012-06-05 09:55:17 UTC (rev 119476)
+++ trunk/Source/WebCore/dom/SelectorQuery.h	2012-06-05 10:25:59 UTC (rev 119477)
@@ -41,12 +41,7 @@
 
 class SelectorDataList {
 public:
-    SelectorDataList();
-
     void initialize(const CSSSelectorList&);
-
-    int size() const { return m_selectors.size(); }
-
     bool matches(const SelectorChecker&, Element*) const;
     PassRefPtr<NodeList> queryAll(const SelectorChecker&, Node* rootNode) const;
     PassRefPtr<Element> queryFirst(const SelectorChecker&, Node* rootNode) const;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to