Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(441)

Unified Diff: Source/web/WebViewImpl.cpp

Issue 1316403004: Ensure that we trigger deferred frame commits. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Trigger BeginFrame from resumeTreeViewCommits Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/web/tests/DocumentLoadingRenderingTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebViewImpl.cpp
diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp
index 4f6b22a57f072d8d08c3e627272eac9d3a80d8c5..1d3f446d1e4acd57d7eb6a03c54d22d081d766d6 100644
--- a/Source/web/WebViewImpl.cpp
+++ b/Source/web/WebViewImpl.cpp
@@ -3898,8 +3898,10 @@ void WebViewImpl::resumeTreeViewCommits()
{
if (!mainFrameImpl()->frame()->loader().stateMachine()->committedFirstRealDocumentLoad())
return;
- if (m_layerTreeView)
+ if (m_layerTreeView) {
m_layerTreeView->setDeferCommits(false);
+ m_layerTreeView->setNeedsBeginFrame();
+ }
}
void WebViewImpl::postLayoutResize(WebLocalFrameImpl* webframe)
« no previous file with comments | « no previous file | Source/web/tests/DocumentLoadingRenderingTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698