WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
109653
[Refactoring] Make SelectorChecker::mode a constructor parameter.
https://bugs.webkit.org/show_bug.cgi?id=109653
Summary
[Refactoring] Make SelectorChecker::mode a constructor parameter.
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
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Takashi Sakamoto
Comment 1
2013-02-12 20:35:37 PST
Created
attachment 187997
[details]
Patch
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.
Top of Page
Format For Printing
XML
Clone This Bug