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

Unified Diff: android_webview/browser/aw_browser_main_parts.cc

Issue 1380663004: Revert "aw: Disable ipc command buffer by default" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 | « no previous file | android_webview/common/aw_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/browser/aw_browser_main_parts.cc
diff --git a/android_webview/browser/aw_browser_main_parts.cc b/android_webview/browser/aw_browser_main_parts.cc
index 6fc5154955cd06b30b99d3f37694a2df9b0af133..e2bf9a2d7617cd36956a1fc60041c1b65e0a63b7 100644
--- a/android_webview/browser/aw_browser_main_parts.cc
+++ b/android_webview/browser/aw_browser_main_parts.cc
@@ -89,10 +89,10 @@ void AwBrowserMainParts::PreMainMessageLoopRun() {
new AwMediaClientAndroid(AwResource::GetConfigKeySystemUuidMapping()));
if (base::CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kUseIpcCommandBuffer)) {
- content::SynchronousCompositor::SetUseIpcCommandBuffer();
- } else {
+ switches::kUseInProcCommandBuffer)) {
gfx::GLSurface::InitializeOneOff();
+ } else {
+ content::SynchronousCompositor::SetUseIpcCommandBuffer();
}
content::RenderFrameHost::AllowInjectingJavaScriptForAndroidWebView();
« no previous file with comments | « no previous file | android_webview/common/aw_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698