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

Unified Diff: android_webview/lib/main/aw_main_delegate.cc

Issue 2457063002: aw: Enable async ondraw by default (Closed)
Patch Set: Created 4 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 53abf193dce7cbd5ba513b84cb2bc1faaa4240e9..08c9fe1fa6cec3d77a5d12f40807c60f6a8d524d 100644
--- a/android_webview/lib/main/aw_main_delegate.cc
+++ b/android_webview/lib/main/aw_main_delegate.cc
@@ -66,6 +66,9 @@ bool AwMainDelegate::BasicStartupComplete(int* exit_code) {
base::CommandLine* cl = base::CommandLine::ForCurrentProcess();
+ // Enable async OnDraw by default. See crbug.com/636164 for progress.
+ cl->AppendSwitch(switches::kAsyncOnDrawHardware);
+
// WebView uses the Android system's scrollbars and overscroll glow.
cl->AppendSwitch(switches::kDisableOverscrollEdgeEffect);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698