Index: chrome/common/chrome_paths.cc |
diff --git a/chrome/common/chrome_paths.cc b/chrome/common/chrome_paths.cc |
index 49a5d7c968023157a8aa82404f52859127d56303..641baf26c50faacd466996055d68022faaf2990b 100644 |
--- a/chrome/common/chrome_paths.cc |
+++ b/chrome/common/chrome_paths.cc |
@@ -354,7 +354,7 @@ bool PathProvider(int key, base::FilePath* result) { |
cur = cur.Append(kGTalkPluginFileName); |
break; |
#endif |
-#if defined(WIDEVINE_CDM_AVAILABLE) |
+#if defined(WIDEVINE_CDM_AVAILABLE) && defined(ENABLE_PEPPER_CDMS) |
#if defined(WIDEVINE_CDM_IS_COMPONENT) |
case chrome::DIR_COMPONENT_WIDEVINE_CDM: |
if (!PathService::Get(chrome::DIR_USER_DATA, &cur)) |
@@ -370,7 +370,7 @@ bool PathProvider(int key, base::FilePath* result) { |
return false; |
cur = cur.Append(kWidevineCdmAdapterFileName); |
break; |
-#endif // defined(WIDEVINE_CDM_AVAILABLE) |
+#endif // defined(WIDEVINE_CDM_AVAILABLE) && defined(ENABLE_PEPPER_CDMS) |
case chrome::FILE_RESOURCES_PACK: |
#if defined(OS_MACOSX) && !defined(OS_IOS) |
if (base::mac::AmIBundled()) { |