RESOLVED FIXED 140247
Unfriend StyleResolver and StyleBuilderCustom
https://bugs.webkit.org/show_bug.cgi?id=140247
Summary Unfriend StyleResolver and StyleBuilderCustom
Chris Dumez
Reported 2015-01-08 08:13:34 PST
Stop marking StyleBuilderCustom as a friend of StyleResolver by refactoring the code a bit.
Attachments
Patch (5.88 KB, patch)
2015-01-08 09:58 PST, Chris Dumez
no flags
Chris Dumez
Comment 1 2015-01-08 09:58:16 PST
Darin Adler
Comment 2 2015-01-08 10:27:31 PST
Comment on attachment 244268 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=244268&action=review That turned out really nice. > Source/WebCore/css/StyleResolver.h:165 > + Settings* documentSettings() { return m_document.settings(); } Really annoying that settings can be null. We need to get Kling on the case to help us figure out how to do this. Maybe we can move Settings from Page to MainFrame? > Source/WebCore/css/StyleResolver.h:-322 > - Settings* documentSettings() { return m_document.settings(); } Might need to remove a blank line here to avoid a double black line.
Chris Dumez
Comment 3 2015-01-08 11:23:29 PST
Comment on attachment 244268 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=244268&action=review >> Source/WebCore/css/StyleResolver.h:-322 >> - Settings* documentSettings() { return m_document.settings(); } > > Might need to remove a blank line here to avoid a double black line. I only see 1 blank line.
WebKit Commit Bot
Comment 4 2015-01-08 12:05:21 PST
Comment on attachment 244268 [details] Patch Clearing flags on attachment: 244268 Committed r178123: <http://trac.webkit.org/changeset/178123>
WebKit Commit Bot
Comment 5 2015-01-08 12:05:26 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.