Commit de02231e authored by ap@apple.com's avatar ap@apple.com
Browse files

Reviewed by Darin Adler.

        https://bugs.webkit.org/show_bug.cgi?id=54480
        <rdar://problem/8975229> REGRESSION (WebKit2): A web page remains unresponsive for a long
        time after printing

        Nothing was painted until moving the mouse over browser chrome, deactivating the window,
        or taking some other drastic measure like that.

        * UIProcess/API/mac/PageClientImpl.mm: (WebKit::PageClientImpl::setAutodisplay):
        Call -[NSView displayIfNeeded] after enabling autodisplay. For some reason, this makes
        WebCore push updates again.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@78603 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 79a81704
2011-02-15 Alexey Proskuryakov <ap@apple.com>
Reviewed by Darin Adler.
https://bugs.webkit.org/show_bug.cgi?id=54480
<rdar://problem/8975229> REGRESSION (WebKit2): A web page remains unresponsive for a long
time after printing
Nothing was painted until moving the mouse over browser chrome, deactivating the window,
or taking some other drastic measure like that.
* UIProcess/API/mac/PageClientImpl.mm: (WebKit::PageClientImpl::setAutodisplay):
Call -[NSView displayIfNeeded] after enabling autodisplay. For some reason, this makes
WebCore push updates again.
2011-02-15 Sam Weinig <sam@webkit.org>
 
Reviewed by Darin Adler.
......@@ -375,6 +375,10 @@ void PageClientImpl::setAutodisplay(bool newState)
[m_wkView displayIfNeeded];
[[m_wkView window] setAutodisplay:newState];
// For some reason, painting doesn't happen for a long time without this call, <rdar://problem/8975229>.
if (newState)
[m_wkView displayIfNeeded];
}
CGContextRef PageClientImpl::containingWindowGraphicsContext()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment