Index: content/shell/shell_android.cc |
diff --git a/content/shell/shell_android.cc b/content/shell/shell_android.cc |
index 242651cec7c26daab522a956928d68725216af67..cc718d6abca931fbefeb4ab8527ea7058317853b 100644 |
--- a/content/shell/shell_android.cc |
+++ b/content/shell/shell_android.cc |
@@ -8,8 +8,10 @@ |
#include "base/android/scoped_java_ref.h" |
#include "base/android/jni_string.h" |
+#include "base/command_line.h" |
#include "base/logging.h" |
#include "base/string_piece.h" |
+#include "content/public/common/content_switches.h" |
#include "content/shell/android/shell_manager.h" |
#include "jni/Shell_jni.h" |
@@ -23,6 +25,11 @@ base::StringPiece Shell::PlatformResourceProvider(int key) { |
} |
void Shell::PlatformInitialize() { |
+ // TODO(sievers): This should just assert the right flags are |
aelias_OOO_until_Jul13
2012/07/27 19:58:24
These will be added by Yusuf's gesture patch http:
no sievers
2012/07/31 01:28:44
Cool, I turned it into a dcheck() then.
On 2012/0
|
+ // already set. |
+ CommandLine* command_line = CommandLine::ForCurrentProcess(); |
+ command_line->AppendSwitch(switches::kForceCompositingMode); |
+ command_line->AppendSwitch(switches::kEnableThreadedCompositing); |
} |
void Shell::PlatformCleanUp() { |