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

Unified Diff: android_webview/common/aw_switches.cc

Issue 140753006: [Android WebView] Turn on accelerated canvas based on View.isHardwareAccelerated (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
Index: android_webview/common/aw_switches.cc
diff --git a/android_webview/common/aw_switches.cc b/android_webview/common/aw_switches.cc
index 216b4e3fe36dddba6af38201e00a0041faa85cc4..2c78aa43d3c9d5f1b859a884491d9d0a20a54b70 100644
--- a/android_webview/common/aw_switches.cc
+++ b/android_webview/common/aw_switches.cc
@@ -14,4 +14,6 @@ const char kTileMemoryMultiplier[] = "tile-memory-multiplier";
const char kNumGrallocBuffersPerWebview[] = "num-gralloc-buffers-per-webview";
+const char kEnableAccelerated2dCanvas[] = "enable-accelerated-2d-canvas";
+
} // namespace switches

Powered by Google App Engine
This is Rietveld 408576698