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

Unified Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 1452353002: Turn off computation of the interest rect in cc in synchronized paint mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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
Index: content/browser/renderer_host/render_process_host_impl.cc
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
index 75334a2a885559f22fb3fdb4ada69df2d028a0aa..f1e1a3960d98f8df98239eb55ce0e0cc1fce1f79 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -1204,6 +1204,11 @@ static void AppendCompositorCommandLineFlags(base::CommandLine* command_line) {
switches::kEnableGpuMemoryBufferCompositorResources);
}
+ if (IsBlinkSynchronizedPaintingEnabled()) {
+ command_line->AppendSwitch(
+ switches::kEnableBlinkSynchronizedPainting);
+ }
+
// Persistent buffers may come at a performance hit (not all platform specific
// buffers support it), so only enable them if partial raster is enabled and
// we are actually going to use them.

Powered by Google App Engine
This is Rietveld 408576698