--- a/chrome/common/chrome_paths.cc
+++ b/chrome/common/chrome_paths.cc
@@ -377,6 +377,10 @@ bool PathProvider(int key, base::FilePat
 #if defined(WIDEVINE_CDM_AVAILABLE) && BUILDFLAG(ENABLE_LIBRARY_CDMS)
 #if defined(WIDEVINE_CDM_IS_COMPONENT)
     case chrome::DIR_COMPONENT_WIDEVINE_CDM:
+      if (base::PathExists(base::FilePath(FILE_PATH_LITERAL("/opt/google/chrome/libwidevinecdm.so")))) {
+        cur = cur.Append(FILE_PATH_LITERAL("/opt/google/chrome/"));
+        break;
+      }
       if (!PathService::Get(chrome::DIR_USER_DATA, &cur))
         return false;
       cur = cur.AppendASCII(kWidevineCdmBaseDirectory);
@@ -386,6 +390,10 @@ bool PathProvider(int key, base::FilePat
     // In the component case, this is the source adapter. Otherwise, it is the
     // actual Pepper module that gets loaded.
     case chrome::FILE_WIDEVINE_CDM_ADAPTER:
+      if (base::PathExists(base::FilePath(FILE_PATH_LITERAL("/opt/google/chrome/libwidevinecdmadapter.so")))) {
+        cur = cur.AppendASCII("/opt/google/chrome/libwidevinecdmadapter.so");
+        break;
+      }
       if (!GetComponentDirectory(&cur))
         return false;
       cur = cur.Append(
