WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
178538
[FrameView::layout cleanup] Move post layout task scheduling logic to a separate function
https://bugs.webkit.org/show_bug.cgi?id=178538
Summary
[FrameView::layout cleanup] Move post layout task scheduling logic to a separ...
zalan
Reported
2017-10-19 13:22:03 PDT
ssia
Attachments
Patch
(4.06 KB, patch)
2017-10-19 13:36 PDT
,
zalan
no flags
Details
Formatted Diff
Diff
Patch
(3.87 KB, patch)
2017-10-19 14:16 PDT
,
zalan
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2017-10-19 13:22:30 PDT
<
rdar://problem/35080743
>
zalan
Comment 2
2017-10-19 13:36:50 PDT
Created
attachment 324277
[details]
Patch
Simon Fraser (smfr)
Comment 3
2017-10-19 14:06:31 PDT
Comment on
attachment 324277
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=324277&action=review
> Source/WebCore/page/FrameView.cpp:1568 > + // If we are already in a synchronous call, defer post layout tasks until after we return.
blank line above.
> Source/WebCore/page/FrameView.cpp:1569 > + // Post layout taks can make us need to update again, and we can get stuck in a cycle.
The following call to performPostLayoutTasks can cause this function to get re-entered. We use the timer to prevent re-entrancy.
> Source/WebCore/page/FrameView.cpp:1574 > + performPostLayoutTasks();
blank line above
> Source/WebCore/page/FrameView.cpp:1576 > + // Post layout widget tasks made us need layout again.
Remove this line.
> Source/WebCore/page/FrameView.h:692 > void performPostLayoutTasks(); > + void runOrSchedulePostLayoutTasks();
Maybe swap.
zalan
Comment 4
2017-10-19 14:16:49 PDT
Created
attachment 324282
[details]
Patch
WebKit Commit Bot
Comment 5
2017-10-19 15:31:33 PDT
Comment on
attachment 324282
[details]
Patch Clearing flags on attachment: 324282 Committed
r223717
: <
https://trac.webkit.org/changeset/223717
>
WebKit Commit Bot
Comment 6
2017-10-19 15:31:34 PDT
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