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

Unified Diff: third_party/WebKit/Source/web/WebViewImpl.cpp

Issue 1934753002: NOT FOR COMMIT: sample CL to debug white flashes. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 | « third_party/WebKit/Source/web/ChromeClientImpl.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/WebViewImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebViewImpl.cpp b/third_party/WebKit/Source/web/WebViewImpl.cpp
index 107878abf2a9750ffbc8f1fbdcf4cac5e29e5b78..108bba42dda9eba09dacdb3359883d990df4db66 100644
--- a/third_party/WebKit/Source/web/WebViewImpl.cpp
+++ b/third_party/WebKit/Source/web/WebViewImpl.cpp
@@ -4204,6 +4204,7 @@ void WebViewImpl::setRootGraphicsLayer(GraphicsLayer* layer)
// This means that we're transitioning to a new page. Suppress
// commits until Blink generates invalidations so we don't
// attempt to paint too early in the next page load.
+ LOG(ERROR) << "Stop painting";
m_layerTreeView->setDeferCommits(true);
m_layerTreeView->clearRootLayer();
visualViewport.clearLayersForTreeView(m_layerTreeView);
@@ -4510,6 +4511,7 @@ void WebViewImpl::detachPaintArtifactCompositor()
if (!m_layerTreeView)
return;
+ LOG(ERROR) << "Stop painting";
m_layerTreeView->setDeferCommits(true);
m_layerTreeView->clearRootLayer();
}
« no previous file with comments | « third_party/WebKit/Source/web/ChromeClientImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698