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 a172b86951137bfc34a6ebf2bb794d6ce2c32b66..791bc63562d385b982a165e58c40bc1a85e5d2f5 100644 |
--- a/android_webview/lib/main/aw_main_delegate.cc |
+++ b/android_webview/lib/main/aw_main_delegate.cc |
@@ -26,6 +26,7 @@ |
#include "content/public/common/content_switches.h" |
#include "gpu/command_buffer/client/gl_in_process_context.h" |
#include "gpu/command_buffer/service/in_process_command_buffer.h" |
+#include "media/base/media_switches.h" |
#include "webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h" |
namespace android_webview { |
@@ -81,6 +82,9 @@ bool AwMainDelegate::BasicStartupComplete(int* exit_code) { |
// Disable WebRTC. |
cl->AppendSwitch(switches::kDisableWebRTC); |
+ // Support EME/L1 with hole-punching. |
+ cl->AppendSwitch(switches::kMediaDrmEnableNonCompositing); |
boliu
2014/01/24 21:56:32
Given all the caveats, we can't turn EME on in gen
ycheo (away)
2014/01/28 13:08:53
Removed.
|
+ |
return false; |
} |