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

Unified Diff: content/browser/android/synchronous_compositor_base.cc

Issue 1620053002: sync compositor: Merge input path with chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tests Created 4 years, 10 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
Index: content/browser/android/synchronous_compositor_base.cc
diff --git a/content/browser/android/synchronous_compositor_base.cc b/content/browser/android/synchronous_compositor_base.cc
index e218d4020d143893b23da78d98cc8861ea145cde..ba9b3362476ebdad32f164a07c2692234cd396ca 100644
--- a/content/browser/android/synchronous_compositor_base.cc
+++ b/content/browser/android/synchronous_compositor_base.cc
@@ -63,11 +63,13 @@ scoped_ptr<SynchronousCompositorBase> SynchronousCompositorBase::Create(
base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
if (command_line->HasSwitch(switches::kIPCSyncCompositing)) {
+ bool async_input =
+ command_line->HasSwitch(switches::kAsyncInputForSyncCompositor);
bool use_in_proc_software_draw =
command_line->HasSwitch(switches::kSingleProcess);
return make_scoped_ptr(new SynchronousCompositorHost(
rwhva, web_contents_android->synchronous_compositor_client(),
- use_in_proc_software_draw));
+ async_input, use_in_proc_software_draw));
}
return make_scoped_ptr(new SynchronousCompositorImpl(
rwhva, web_contents_android->synchronous_compositor_client()));

Powered by Google App Engine
This is Rietveld 408576698