Skip to content

Commit

Permalink
aw: Use ipc command buffer by default
Browse files Browse the repository at this point in the history
BUG=509702

Review URL: https://codereview.chromium.org/1249313005

Cr-Commit-Position: refs/heads/master@{#341125}
  • Loading branch information
boliu authored and Commit bot committed Jul 30, 2015
1 parent 715cd9f commit 32f51e5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions android_webview/lib/main/aw_main_delegate.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 32f51e5

Please sign in to comment.