Index: android_webview/lib/main/aw_main_delegate.cc |
diff --git a/android_webview/lib/main/aw_main_delegate.cc b/android_webview/lib/main/aw_main_delegate.cc |
index 99a4b0d0e50c2945c98ef84b7a6f0e299c823f84..a27b0a5a8773e99224a355b845b13be4c8ea65f9 100644 |
--- a/android_webview/lib/main/aw_main_delegate.cc |
+++ b/android_webview/lib/main/aw_main_delegate.cc |
@@ -33,6 +33,9 @@ bool AwMainDelegate::BasicStartupComplete(int* exit_code) { |
// Set the command line to enable synchronous API compatibility. |
command_line->AppendSwitch(switches::kEnableWebViewSynchronousAPIs); |
+ // Merge browser UI and renderer compositor threads. |
+ command_line->AppendSwitch(switches::kMergeUIAndRendererCompositorThreads); |
+ |
return false; |
} |