Index: android_webview/browser/aw_browser_main_parts.cc |
diff --git a/android_webview/browser/aw_browser_main_parts.cc b/android_webview/browser/aw_browser_main_parts.cc |
index db47f0208f9f0fa40e90aaf6d3decfcd56611000..de75ed61729895391f1df1dbf58a1de3d89f7c36 100644 |
--- a/android_webview/browser/aw_browser_main_parts.cc |
+++ b/android_webview/browser/aw_browser_main_parts.cc |
@@ -12,6 +12,7 @@ |
#include "base/android/memory_pressure_listener_android.h" |
#include "base/files/file_path.h" |
#include "base/path_service.h" |
+#include "components/cdm/browser/widevine_drm_delegate_android.h" |
#include "content/public/browser/render_process_host.h" |
#include "content/public/common/content_client.h" |
#include "content/public/common/content_switches.h" |
@@ -99,6 +100,7 @@ void AwBrowserMainParts::PreMainMessageLoopRun() { |
// This is needed for WebView Classic backwards compatibility |
// See crbug.com/298495 |
content::SetMaxURLChars(20 * 1024 * 1024); |
+ cdm::WidevineDrmDelegateAndroid::Install(); |
} |
bool AwBrowserMainParts::MainMessageLoopRun(int* result_code) { |