Bug 114780 - Add a synchronous version of WKView endDeferringViewInWindowChanges
Summary: Add a synchronous version of WKView endDeferringViewInWindowChanges
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Tim Horton
Keywords: InRadar
Depends on:
Reported: 2013-04-17 19:39 PDT by Tim Horton
Modified: 2013-04-18 17:24 PDT (History)
4 users (show)

See Also:

preliminary changelogless patch (7.05 KB, patch)
2013-04-17 19:42 PDT, Tim Horton
no flags Details | Formatted Diff | Diff
patch (10.71 KB, patch)
2013-04-18 15:13 PDT, Tim Horton
simon.fraser: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Horton 2013-04-17 19:39:41 PDT
For clients who are totally A-OK with the UIProcess blocking (for up to 250ms) until:

a) the TileCaches are reparented
b) the TiledCoreAnimationDrawingArea has reattached the layer tree to the layer hosting context
c) the runloop cycle has finished (so that painting can occur if necessary)

Comment 1 Tim Horton 2013-04-17 19:42:17 PDT
Created attachment 198670 [details]
preliminary changelogless patch
Comment 2 Tim Horton 2013-04-17 19:43:21 PDT
Comment on attachment 198670 [details]
preliminary changelogless patch

View in context: https://bugs.webkit.org/attachment.cgi?id=198670&action=review

> Source/WebKit2/WebProcess/WebPage/WebPage.cpp:2020
> +    m_sendDidUpdateInWindowStateTimer.startOneShot(0);

Actually I think it's bad that we could be coalescing here.
Comment 3 Tim Horton 2013-04-18 15:13:02 PDT
Created attachment 198772 [details]
Comment 4 Tim Horton 2013-04-18 17:24:24 PDT