summarylogtreecommitdiffstats
path: root/chromium-widevine.patch
diff options
context:
space:
mode:
authorSamantha McVey2016-07-23 17:48:57 -0700
committerSamantha McVey2016-07-23 17:48:57 -0700
commit0e552eb44b69fd6b6e71fad9e4b0fa214349b400 (patch)
treead7c16de1490ddcb532518ca615c95e2e656aeb8 /chromium-widevine.patch
parentbab213f6da7055c5492aac82a9179a131d424cd0 (diff)
downloadaur-0e552eb44b69fd6b6e71fad9e4b0fa214349b400.tar.gz
Update to 52.0.2743.82
Diffstat (limited to 'chromium-widevine.patch')
-rw-r--r--chromium-widevine.patch43
1 files changed, 0 insertions, 43 deletions
diff --git a/chromium-widevine.patch b/chromium-widevine.patch
index 569ad4c88bfe..a67ae8b1c118 100644
--- a/chromium-widevine.patch
+++ b/chromium-widevine.patch
@@ -1,46 +1,3 @@
-diff -upr chromium-48.0.2564.82.orig/chrome/common/chrome_content_client.cc chromium-48.0.2564.82/chrome/common/chrome_content_client.cc
---- chromium-48.0.2564.82.orig/chrome/common/chrome_content_client.cc 2016-01-20 22:01:20.000000000 +0200
-+++ chromium-48.0.2564.82/chrome/common/chrome_content_client.cc 2016-01-21 20:02:02.788936626 +0200
-@@ -158,7 +158,12 @@ void ComputeBuiltInPlugins(std::vector<c
- #if defined(WIDEVINE_CDM_AVAILABLE) && defined(ENABLE_PEPPER_CDMS) && \
- !defined(WIDEVINE_CDM_IS_COMPONENT)
- static bool skip_widevine_cdm_file_check = false;
-- if (PathService::Get(chrome::FILE_WIDEVINE_CDM_ADAPTER, &path)) {
-+ bool widevine_cdm_present =
-+ skip_widevine_cdm_file_check ||
-+ (PathService::Get(chrome::FILE_WIDEVINE_CDM, &path) &&
-+ base::PathExists(path));
-+ if (widevine_cdm_present &&
-+ PathService::Get(chrome::FILE_WIDEVINE_CDM_ADAPTER, &path)) {
- if (skip_widevine_cdm_file_check || base::PathExists(path)) {
- content::PepperPluginInfo widevine_cdm;
- widevine_cdm.is_out_of_process = true;
-diff -upr chromium-48.0.2564.82.orig/chrome/common/chrome_paths.cc chromium-48.0.2564.82/chrome/common/chrome_paths.cc
---- chromium-48.0.2564.82.orig/chrome/common/chrome_paths.cc 2016-01-20 22:01:20.000000000 +0200
-+++ chromium-48.0.2564.82/chrome/common/chrome_paths.cc 2016-01-21 19:18:51.287978456 +0200
-@@ -375,6 +375,11 @@ bool PathProvider(int key, base::FilePat
- return false;
- cur = cur.AppendASCII(kWidevineCdmAdapterFileName);
- break;
-+ case chrome::FILE_WIDEVINE_CDM:
-+ if (!GetInternalPluginsDirectory(&cur))
-+ return false;
-+ cur = cur.AppendASCII(kWidevineCdmFileName);
-+ break;
- #endif // defined(WIDEVINE_CDM_AVAILABLE) && defined(ENABLE_PEPPER_CDMS)
- case chrome::FILE_RESOURCES_PACK:
- #if defined(OS_MACOSX) && !defined(OS_IOS)
-diff -upr chromium-48.0.2564.82.orig/chrome/common/chrome_paths.h chromium-48.0.2564.82/chrome/common/chrome_paths.h
---- chromium-48.0.2564.82.orig/chrome/common/chrome_paths.h 2016-01-14 03:49:22.000000000 +0200
-+++ chromium-48.0.2564.82/chrome/common/chrome_paths.h 2016-01-21 19:18:51.287978456 +0200
-@@ -99,6 +99,7 @@ enum {
- DIR_COMPONENT_WIDEVINE_CDM, // Directory that contains component-updated
- // Widevine CDM files.
- FILE_WIDEVINE_CDM_ADAPTER, // Full path to the Widevine CDM adapter file.
-+ FILE_WIDEVINE_CDM, // Full path to the Widevine CDM file.
- FILE_RESOURCES_PACK, // Full path to the .pak file containing
- // binary data (e.g., html files and images
- // used by internal pages).
diff -upr chromium-48.0.2564.82.orig/third_party/widevine/cdm/stub/widevine_cdm_version.h chromium-48.0.2564.82/third_party/widevine/cdm/stub/widevine_cdm_version.h
--- chromium-48.0.2564.82.orig/third_party/widevine/cdm/stub/widevine_cdm_version.h 2016-01-14 01:05:17.000000000 +0200
+++ chromium-48.0.2564.82/third_party/widevine/cdm/stub/widevine_cdm_version.h 2016-01-21 19:18:51.287978456 +0200