Move pointer to Document up from SelectorChecker to StyleResolver.
Created attachment 180945 [details] Patch
Comment on attachment 180945 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=180945&action=review Looks reasonable. > Source/WebCore/css/SelectorChecker.h:104 > + bool checkScrollbarPseudoClass(Document*, CSSSelector*) const; Does this method belong on SelectorChecker? It seems odd to be the only method which takes a Document pointer.
(In reply to comment #2) > (From update of attachment 180945 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=180945&action=review > > Looks reasonable. > > > Source/WebCore/css/SelectorChecker.h:104 > > + bool checkScrollbarPseudoClass(Document*, CSSSelector*) const; > > Does this method belong on SelectorChecker? It seems odd to be the only method which takes a Document pointer. This guy definitely needs to be refactored. I haven't figured out how to untangle this properly yet, but I am thinking about it :)
Comment on attachment 180945 [details] Patch Clearing flags on attachment: 180945 Committed r138571: <http://trac.webkit.org/changeset/138571>
All reviewed patches have been landed. Closing bug.