Index: android_webview/common/aw_switches.cc |
diff --git a/android_webview/common/aw_switches.cc b/android_webview/common/aw_switches.cc |
index f30962368ed6252be251b4c55808845b4d8afe75..4a9737210ce2c676a46d095513c8f7b3b04a8bf5 100644 |
--- a/android_webview/common/aw_switches.cc |
+++ b/android_webview/common/aw_switches.cc |
@@ -3,10 +3,19 @@ |
// found in the LICENSE file. |
#include "android_webview/common/aw_switches.h" |
+#include "base/command_line.h" |
namespace switches { |
const char kDisableRecordDocumentWorkaround[] = |
"disable-record-document-workaround"; |
+const char kForceAuxiliaryBitmap[] = "force-auxiliary-bitmap"; |
+ |
+bool ForceAuxiliaryBitmap() { |
+ static bool force_auxiliary_bitmap = |
+ CommandLine::ForCurrentProcess()->HasSwitch(kForceAuxiliaryBitmap); |
+ return force_auxiliary_bitmap; |
+} |
+ |
} // namespace switches |