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

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

Issue 2653673003: [M56 fork] Disable webview async ondraw (Closed)
Patch Set: Created 3 years, 11 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 6236e19f0bcb67929e3b13b53d2c741bd4bbd522..da499c783fec6056ed21500c46fa2dae1b5d92fa 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();
+ // Temporarily disable async ondraw for M56.
+ cl->AppendSwitch(switches::kSyncOnDrawHardware);
+
// 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