Skip to content
  • dglazkov@chromium.org's avatar
    Stop passing around SelectorChecker in ContentSelectorQuery. · 883f8866
    dglazkov@chromium.org authored
    https://bugs.webkit.org/show_bug.cgi?id=110041
    
    Now that SelectorChecker has no interesting state, we can simplify ContentSelectorQuery and get rid of a class.
    
    Reviewed by Andreas Kling.
    
    No functional changes, covered by existing tests.
    
    * html/shadow/ContentSelectorQuery.cpp:
    (WebCore::ContentSelectorDataList::checkContentSelector): Zapped ContentSelectorChecker and moved its only remaining method here.
    (WebCore::ContentSelectorDataList::matches): Removed SelectorChecker argument.
    (WebCore::ContentSelectorQuery::ContentSelectorQuery): Removed an unnecessary member.
    (WebCore::ContentSelectorQuery::matches): Removed unnecessary argument.
    * html/shadow/ContentSelectorQuery.h:
    (WebCore): Cleaned up the file.
    (ContentSelectorDataList): Updated decls.
    (ContentSelectorQuery): Ditto.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@143150 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    883f8866