Bug 109653

Summary: [Refactoring] Make SelectorChecker::mode a constructor parameter.
Product: WebKit Reporter: Takashi Sakamoto <tasak>
Component: CSSAssignee: Takashi Sakamoto <tasak>
Status: RESOLVED FIXED    
Severity: Normal CC: koivisto, webcomponents-bugzilla, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 89879    
Attachments:
Description Flags
Patch none

Takashi Sakamoto
Reported 2013-02-12 20:32:01 PST
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.
Attachments
Patch (6.21 KB, patch)
2013-02-12 20:35 PST, Takashi Sakamoto
no flags
Takashi Sakamoto
Comment 1 2013-02-12 20:35:37 PST
Dimitri Glazkov (Google)
Comment 2 2013-02-12 20:42:34 PST
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?
WebKit Review Bot
Comment 3 2013-02-12 21:11:50 PST
Comment on attachment 187997 [details] Patch Clearing flags on attachment: 187997 Committed r142717: <http://trac.webkit.org/changeset/142717>
WebKit Review Bot
Comment 4 2013-02-12 21:11:54 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.