Since StyleResolver uses SelectorChecker as an on-stack object now, no need to use setMode(Mode) to change SelectorChecker's mode. Instead, we can make the mode a constructor parameter.
Created attachment 187997 [details] Patch
Comment on attachment 187997 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=187997&action=review > Source/WebCore/css/SelectorChecker.cpp:65 > +SelectorChecker::SelectorChecker(Document* document, Mode mode) Does Mode declaration need to move to StyleResolver now?
Comment on attachment 187997 [details] Patch Clearing flags on attachment: 187997 Committed r142717: <http://trac.webkit.org/changeset/142717>
All reviewed patches have been landed. Closing bug.