Add a flag to disable cached picture raster for blink.
This makes cc raster directly from the display item list, when the
--disable-cached-picture-raster flag is present, which is what we
can see in tracing, and will help with potential debugging now
that --disable-slimming-paint is gone, until we remove the cached
picture entirely.
R=pdr
TBR=antrim
BUG=543208
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Review URL: https://codereview.chromium.org/1405803002
Cr-Commit-Position: refs/heads/master@{#354323}
diff --git a/ui/compositor/compositor.cc b/ui/compositor/compositor.cc
index e648c8a..cab5d6e 100644
--- a/ui/compositor/compositor.cc
+++ b/ui/compositor/compositor.cc
@@ -109,7 +109,7 @@
}
}
settings.renderer_settings.partial_swap_enabled =
- !command_line->HasSwitch(cc::switches::kUIDisablePartialSwap);
+ !command_line->HasSwitch(switches::kUIDisablePartialSwap);
#if defined(OS_WIN)
settings.renderer_settings.finish_rendering_on_resize = true;
#endif