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

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

Issue 1952673002: Revert of Start out deferring commits in WebViewImpl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 | 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 ba6c6c4daf366bdd2a347419513eef581b10b3a7..107878abf2a9750ffbc8f1fbdcf4cac5e29e5b78 100644
--- a/third_party/WebKit/Source/web/WebViewImpl.cpp
+++ b/third_party/WebKit/Source/web/WebViewImpl.cpp
@@ -4269,13 +4269,8 @@
devTools->layerTreeViewChanged(m_layerTreeView);
m_page->settings().setAcceleratedCompositingEnabled(m_layerTreeView);
- if (m_layerTreeView) {
+ if (m_layerTreeView)
m_page->layerTreeViewInitialized(*m_layerTreeView);
- // We don't yet have a page loaded at this point of the initialization of WebViewImpl.
- // Suppress commits until Blink generates invalidations so we don't
- // attempt to paint too early in the next page load.
- m_layerTreeView->setDeferCommits(true);
- }
// FIXME: only unittests, click to play, Android printing, and printing (for headers and footers)
// make this assert necessary. We should make them not hit this code and then delete allowsBrokenNullLayerTreeView.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698