WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
179483
[LayoutState cleanup] Remove renderer data members from state maintainers.
https://bugs.webkit.org/show_bug.cgi?id=179483
Summary
[LayoutState cleanup] Remove renderer data members from state maintainers.
alan
Reported
2017-11-09 08:53:33 PST
Although layout is not supposed to mutate the tree, it's safer not to have them as data members.
Attachments
Patch
(6.46 KB, patch)
2017-11-09 08:58 PST
,
alan
no flags
Details
Formatted Diff
Diff
Patch
(9.04 KB, patch)
2017-11-09 10:27 PST
,
alan
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2017-11-09 08:55:46 PST
<
rdar://problem/35442548
>
alan
Comment 2
2017-11-09 08:58:26 PST
Created
attachment 326452
[details]
Patch
Darin Adler
Comment 3
2017-11-09 09:25:57 PST
Comment on
attachment 326452
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=326452&action=review
> Source/WebCore/rendering/LayoutState.h:165 > + LayoutContext* m_layoutContext { nullptr };
I would have just called this "m_acontext" since the class is all about layout and has layout in its name.
> Source/WebCore/rendering/LayoutState.h:185 > + LayoutContext& m_layoutContext;
Ditto.
alan
Comment 4
2017-11-09 10:03:25 PST
(In reply to Darin Adler from
comment #3
)
> Comment on
attachment 326452
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=326452&action=review
> > > Source/WebCore/rendering/LayoutState.h:165 > > + LayoutContext* m_layoutContext { nullptr }; > > I would have just called this "m_acontext" since the class is all about > layout and has layout in its name.
Indeed.
alan
Comment 5
2017-11-09 10:27:34 PST
Created
attachment 326465
[details]
Patch
WebKit Commit Bot
Comment 6
2017-11-09 10:50:07 PST
Comment on
attachment 326465
[details]
Patch Clearing flags on attachment: 326465 Committed
r224637
: <
https://trac.webkit.org/changeset/224637
>
WebKit Commit Bot
Comment 7
2017-11-09 10:50:09 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