Remove patches to fix Widevine

Fixes to enable Widevine are too platform-specific, so each platform
should use their own upstream's Widevine fixes.
This commit is contained in:
Eloston
2020-01-19 23:24:57 +00:00
parent b230e289f9
commit 9f7c10722c
2 changed files with 0 additions and 43 deletions
@@ -1,42 +0,0 @@
Description: enable widevine and set its version string to "undefined"
Author: Michael Gilbert <mgilbert@debian.org>
Author: Olivier Tilloy <olivier.tilloy@canonical.com>
--- a/chrome/common/chrome_content_client.cc
+++ b/chrome/common/chrome_content_client.cc
@@ -386,7 +386,7 @@ std::unique_ptr<content::CdmInfo> Create
#endif // (BUILDFLAG(BUNDLE_WIDEVINE_CDM) ||
// BUILDFLAG(ENABLE_WIDEVINE_CDM_COMPONENT)) && defined(OS_LINUX)
-#if BUILDFLAG(BUNDLE_WIDEVINE_CDM) && defined(OS_LINUX)
+#if BUILDFLAG(ENABLE_WIDEVINE_CDM_COMPONENT) && defined(OS_LINUX)
// On Linux/ChromeOS we have to preload the CDM since it uses the zygote
// sandbox. On Windows and Mac, the bundled CDM is handled by the component
// updater.
@@ -456,7 +456,7 @@ content::CdmInfo* GetBundledWidevine() {
}());
return s_cdm_info->get();
}
-#endif // BUILDFLAG(BUNDLE_WIDEVINE_CDM) && defined(OS_LINUX)
+#endif // BUILDFLAG(ENABLE_WIDEVINE_CDM_COMPONENT) && defined(OS_LINUX)
#if BUILDFLAG(ENABLE_WIDEVINE_CDM_COMPONENT) && defined(OS_LINUX)
// This code checks to see if a component updated Widevine CDM can be found. If
@@ -614,7 +614,7 @@ void ChromeContentClient::AddContentDecr
// case both versions will be the same and point to the same directory, so
// it doesn't matter which one is loaded.
content::CdmInfo* bundled_widevine = nullptr;
-#if BUILDFLAG(BUNDLE_WIDEVINE_CDM)
+#if BUILDFLAG(ENABLE_WIDEVINE_CDM_COMPONENT)
bundled_widevine = GetBundledWidevine();
#endif
--- a/third_party/widevine/cdm/widevine_cdm_version.h
+++ b/third_party/widevine/cdm/widevine_cdm_version.h
@@ -11,5 +11,6 @@
// If the Widevine CDM is available define the following:
// - WIDEVINE_CDM_VERSION_STRING (with the version of the CDM that's available
// as a string, e.g., "1.0.123.456").
+#define WIDEVINE_CDM_VERSION_STRING "undefined"
#endif // WIDEVINE_CDM_VERSION_H_
-1
View File
@@ -46,7 +46,6 @@ extra/inox-patchset/0019-disable-battery-status-service.patch
extra/debian_buster/gn/parallel.patch
extra/debian_buster/fixes/ps-print.patch
extra/debian_buster/fixes/connection-message.patch
extra/debian_buster/fixes/widevine-enable-version-string.patch
extra/debian_buster/disable/android.patch
extra/debian_buster/disable/fuzzers.patch
extra/debian_buster/disable/welcome-page.patch