summaryrefslogtreecommitdiffstats
path: root/android_webview
diff options
context:
space:
mode:
authorboliu <boliu@chromium.org>2015-07-30 08:56:02 -0700
committerCommit bot <commit-bot@chromium.org>2015-07-30 15:56:38 +0000
commit32f51e50ad54e846547fe5d6752c44d191714739 (patch)
treedec89679e0d470093adf3ba4cada8e58ce9bf47f /android_webview
parent715cd9f61bf776c185e8a485d7c4fb1b0d0effee (diff)
downloadchromium_src-32f51e50ad54e846547fe5d6752c44d191714739.zip
chromium_src-32f51e50ad54e846547fe5d6752c44d191714739.tar.gz
chromium_src-32f51e50ad54e846547fe5d6752c44d191714739.tar.bz2
aw: Use ipc command buffer by default
BUG=509702 Review URL: https://codereview.chromium.org/1249313005 Cr-Commit-Position: refs/heads/master@{#341125}
Diffstat (limited to 'android_webview')
-rw-r--r--android_webview/lib/main/aw_main_delegate.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/android_webview/lib/main/aw_main_delegate.cc b/android_webview/lib/main/aw_main_delegate.cc
index 90d2389..f94d498 100644
--- a/android_webview/lib/main/aw_main_delegate.cc
+++ b/android_webview/lib/main/aw_main_delegate.cc
@@ -7,6 +7,7 @@
#include "android_webview/browser/aw_content_browser_client.h"
#include "android_webview/browser/browser_view_renderer.h"
#include "android_webview/browser/scoped_allow_wait_for_legacy_web_view_api.h"
+#include "android_webview/common/aw_switches.h"
#include "android_webview/crash_reporter/aw_microdump_crash_reporter.h"
#include "android_webview/lib/aw_browser_dependency_factory_impl.h"
#include "android_webview/native/aw_media_url_interceptor.h"
@@ -60,6 +61,7 @@ bool AwMainDelegate::BasicStartupComplete(int* exit_code) {
BrowserViewRenderer::CalculateTileMemoryPolicy();
base::CommandLine* cl = base::CommandLine::ForCurrentProcess();
+ cl->AppendSwitch(switches::kUseIpcCommandBuffer);
cl->AppendSwitch(cc::switches::kEnableBeginFrameScheduling);
// WebView uses the Android system's scrollbars and overscroll glow.