| 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 5f1069f42122ec437f6b2c43d43be08c25243155..224292f0b389b2d9d4088f7b129e2d9ba478d9e8 100644
|
| --- a/android_webview/lib/main/aw_main_delegate.cc
|
| +++ b/android_webview/lib/main/aw_main_delegate.cc
|
| @@ -8,6 +8,7 @@
|
| #include "android_webview/browser/browser_view_renderer.h"
|
| #include "android_webview/browser/gpu_memory_buffer_factory_impl.h"
|
| #include "android_webview/browser/scoped_allow_wait_for_legacy_web_view_api.h"
|
| +#include "android_webview/common/aw_switches.h"
|
| #include "android_webview/lib/aw_browser_dependency_factory_impl.h"
|
| #include "android_webview/native/aw_quota_manager_bridge_impl.h"
|
| #include "android_webview/native/aw_web_contents_view_delegate.h"
|
| @@ -75,6 +76,10 @@ bool AwMainDelegate::BasicStartupComplete(int* exit_code) {
|
|
|
| // WebRTC hardware decoding is not supported, internal bug 15075307
|
| cl->AppendSwitch(switches::kDisableWebRtcHWDecoding);
|
| +
|
| + if (cl->HasSwitch(switches::kDisableRecordDocumentWorkaround))
|
| + content::SynchronousCompositor::DisableRecordFullLayer();
|
| +
|
| return false;
|
| }
|
|
|
|
|