Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1591)

Unified Diff: chrome/browser/plugins/plugin_filter_utils.cc

Issue 2295563002: [HBD] Fix Widevine breakage introduced by prior patch (Closed)
Patch Set: fix Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/plugins/plugin_filter_utils.cc
diff --git a/chrome/browser/plugins/plugin_filter_utils.cc b/chrome/browser/plugins/plugin_filter_utils.cc
index 545a77ae8830053fca9c2f152d89dd98dab8ce3f..496b72da6fd55a919ca78debfded8e1f9a6b32ec 100644
--- a/chrome/browser/plugins/plugin_filter_utils.cc
+++ b/chrome/browser/plugins/plugin_filter_utils.cc
@@ -8,6 +8,7 @@
#include "base/values.h"
#include "components/content_settings/core/browser/host_content_settings_map.h"
#include "content/public/common/webplugininfo.h"
+#include "widevine_cdm_version.h" // In SHARED_INTERMEDIATE_DIR.
#if !defined(DISABLE_NACL)
#include "components/nacl/common/nacl_constants.h"
@@ -32,7 +33,8 @@ bool ShouldUseJavaScriptSettingForPlugin(const content::WebPluginInfo& plugin) {
#if defined(WIDEVINE_CDM_AVAILABLE) && defined(ENABLE_PEPPER_CDMS)
// Treat CDM invocations like JavaScript.
if (plugin.name == base::ASCIIToUTF16(kWidevineCdmDisplayName)) {
- DCHECK_EQ(WebPluginInfo::PLUGIN_TYPE_PEPPER_OUT_OF_PROCESS, plugin.type);
+ DCHECK_EQ(content::WebPluginInfo::PLUGIN_TYPE_PEPPER_OUT_OF_PROCESS,
+ plugin.type);
return true;
}
#endif // defined(WIDEVINE_CDM_AVAILABLE) && defined(ENABLE_PEPPER_CDMS)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698