⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 119477 in webkit


Ignore:
Timestamp:
Jun 5, 2012, 3:25:59 AM (14 years ago)
Author:
haraken@chromium.org
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):

Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r119474 r119477  
     12012-06-05  Kentaro Hara  <haraken@chromium.org>
     2
     3        Remove unused methods from SelectorQuery.h
     4        https://bugs.webkit.org/show_bug.cgi?id=88289
     5
     6        Reviewed by Antti Koivisto.
     7
     8        This patch removes SelectorDataList::size() and
     9        SelectorDataList::SelectorDataList().
     10        SelectorDataList::size() is not used by anybody.
     11        SelectorDataList::SelectorDataList() can be auto-generated
     12        by a compiler.
     13
     14        No tests. No change in behavior.
     15
     16        * dom/SelectorQuery.cpp:
     17        * dom/SelectorQuery.h:
     18        (SelectorDataList):
     19
    1202012-06-05  Kent Tamura  <tkent@chromium.org>
    221
  • trunk/Source/WebCore/dom/SelectorQuery.cpp

    r119399 r119477  
    3636namespace WebCore {
    3737
    38 SelectorDataList::SelectorDataList()
    39 {
    40 }
    41 
    4238void SelectorDataList::initialize(const CSSSelectorList& selectorList)
    4339{
  • trunk/Source/WebCore/dom/SelectorQuery.h

    r119399 r119477  
    4242class SelectorDataList {
    4343public:
    44     SelectorDataList();
    45 
    4644    void initialize(const CSSSelectorList&);
    47 
    48     int size() const { return m_selectors.size(); }
    49 
    5045    bool matches(const SelectorChecker&, Element*) const;
    5146    PassRefPtr<NodeList> queryAll(const SelectorChecker&, Node* rootNode) const;
Note: See TracChangeset for help on using the changeset viewer.