Index: chrome/browser/component_updater/widevine_cdm_component_installer.cc |
diff --git a/chrome/browser/component_updater/widevine_cdm_component_installer.cc b/chrome/browser/component_updater/widevine_cdm_component_installer.cc |
index 3552617e1bd3a06722b50ffecc5084ab424f857d..541fe18223480831245a0f0688ee2e8cb9bf899b 100644 |
--- a/chrome/browser/component_updater/widevine_cdm_component_installer.cc |
+++ b/chrome/browser/component_updater/widevine_cdm_component_installer.cc |
@@ -24,10 +24,10 @@ |
#include "base/values.h" |
#include "build/build_config.h" |
#include "chrome/common/chrome_paths.h" |
-#include "chrome/common/chrome_version_info.h" |
#include "chrome/common/widevine_cdm_constants.h" |
#include "components/component_updater/component_updater_service.h" |
#include "components/component_updater/default_component_installer.h" |
+#include "components/version_info/version_info.h" |
#include "content/public/browser/browser_thread.h" |
#include "content/public/browser/plugin_service.h" |
#include "content/public/common/pepper_plugin_info.h" |
@@ -330,7 +330,7 @@ void WidevineCdmComponentInstallerTraits::UpdateCdmAdapter( |
GetPlatformDirectory(cdm_install_dir) |
.AppendASCII(kWidevineCdmAdapterFileName); |
- const std::string chrome_version = chrome::VersionInfo().Version(); |
+ const std::string chrome_version = version_info::GetVersionNumber(); |
DCHECK(!chrome_version.empty()); |
std::string adapter_version; |
if (!base::ReadFileToString(adapter_version_path, &adapter_version) || |