| Index: Source/web/WebViewImpl.cpp
|
| diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp
|
| index 9f8c31ff244cd5c6fcd84ac10f547d188cc6ce3f..2d809da2cefd6e230f4bc0156cbc974da3fc715a 100644
|
| --- a/Source/web/WebViewImpl.cpp
|
| +++ b/Source/web/WebViewImpl.cpp
|
| @@ -3705,6 +3705,17 @@ void WebViewImpl::willInsertBody(WebLocalFrameImpl* webframe)
|
| resumeTreeViewCommits();
|
| }
|
|
|
| +void WebViewImpl::didRemoveAllPendingStylesheet(WebLocalFrameImpl* webframe)
|
| +{
|
| + if (webframe != mainFrameImpl())
|
| + return;
|
| +
|
| + // If we have no more stylesheets to load and we're past the body tag,
|
| + // we should have something to paint and should start as soon as possible.
|
| + if (m_page->deprecatedLocalMainFrame()->document()->body())
|
| + resumeTreeViewCommits();
|
| +}
|
| +
|
| void WebViewImpl::resumeTreeViewCommits()
|
| {
|
| if (m_layerTreeViewCommitsDeferred) {
|
|
|