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

Unified Diff: content/renderer/render_thread_impl.cc

Issue 1129683003: Use layout test support flag to turn on single thread compositor proxy scheduler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « content/public/common/content_switches.cc ('k') | content/shell/renderer/test_runner/web_test_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_thread_impl.cc
diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc
index b0476c92140e9cef78a94e2b842f5ec1e16ea23b..6167af5f2bf733391e50164f75f14aaaf6d5202e 100644
--- a/content/renderer/render_thread_impl.cc
+++ b/content/renderer/render_thread_impl.cc
@@ -1415,8 +1415,9 @@ bool RenderThreadImpl::IsElasticOverscrollEnabled() {
}
bool RenderThreadImpl::UseSingleThreadScheduler() {
- base::CommandLine* cmd = base::CommandLine::ForCurrentProcess();
- return !cmd->HasSwitch(switches::kDisableSingleThreadProxyScheduler);
+ // TODO(enne): using the scheduler introduces additional composite steps
+ // that create flakiness. This should go away eventually.
+ return !layout_test_mode_;
}
uint32 RenderThreadImpl::GetImageTextureTarget() {
« no previous file with comments | « content/public/common/content_switches.cc ('k') | content/shell/renderer/test_runner/web_test_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698