| 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 5c6399bb3f4499a399315aa372a9a1b633a7c6b2..ad8ed92669095641f697e86d970068165cb9e9d8 100644
|
| --- a/android_webview/lib/main/aw_main_delegate.cc
|
| +++ b/android_webview/lib/main/aw_main_delegate.cc
|
| @@ -28,8 +28,10 @@ bool AwMainDelegate::BasicStartupComplete(int* exit_code) {
|
| content::SetContentClient(&content_client_);
|
|
|
| CommandLine* command_line = CommandLine::ForCurrentProcess();
|
| - // Set the command line to enable synchronous API compatibility.
|
| + // Set the command line to enable compatibility with legacy WebView
|
| + // synchronous APIs and capture picture.
|
| command_line->AppendSwitch(switches::kEnableWebViewSynchronousAPIs);
|
| + command_line->AppendSwitch(switches::kEnableWebViewCapturePictureAPI);
|
|
|
| // TODO(leandrogracia): enable with the CapturePicture API support.
|
| if (false) {
|
|
|