Index: android_webview/lib/main/aw_main_delegate.cc |
=================================================================== |
--- android_webview/lib/main/aw_main_delegate.cc (revision 182123) |
+++ android_webview/lib/main/aw_main_delegate.cc (working copy) |
@@ -31,6 +31,15 @@ |
// Set the command line to enable synchronous API compatibility. |
command_line->AppendSwitch(switches::kEnableWebViewSynchronousAPIs); |
+ // TODO(leandrogracia): enable with the CapturePicture API support. |
+ if (false) { |
+ // Enable impl-side painting in the compositor. |
+ command_line->AppendSwitch(switches::kForceCompositingMode); |
+ command_line->AppendSwitch(switches::kEnableThreadedCompositing); |
+ command_line->AppendSwitch(switches::kEnableDeferredImageDecoding); |
+ command_line->AppendSwitch(cc::switches::kEnableImplSidePainting); |
+ } |
+ |
return false; |
} |