Index: chrome/common/extensions/manifest_handlers/minimum_chrome_version_checker.cc |
diff --git a/chrome/common/extensions/manifest_handlers/minimum_chrome_version_checker.cc b/chrome/common/extensions/manifest_handlers/minimum_chrome_version_checker.cc |
index f74ced5b29de55840f30f811416c7497595cf3d2..bedbf960c7e786bcf1a87ef262dbdbac891ea813 100644 |
--- a/chrome/common/extensions/manifest_handlers/minimum_chrome_version_checker.cc |
+++ b/chrome/common/extensions/manifest_handlers/minimum_chrome_version_checker.cc |
@@ -6,8 +6,8 @@ |
#include "base/strings/utf_string_conversions.h" |
#include "base/version.h" |
-#include "chrome/common/chrome_version_info.h" |
#include "chrome/grit/chromium_strings.h" |
+#include "components/version_info/version_info.h" |
#include "extensions/common/error_utils.h" |
#include "extensions/common/extension.h" |
#include "extensions/common/manifest_constants.h" |
@@ -39,8 +39,7 @@ bool MinimumChromeVersionChecker::Parse(Extension* extension, |
return false; |
} |
- chrome::VersionInfo current_version_info; |
- Version current_version(current_version_info.Version()); |
+ Version current_version(version_info::GetVersionNumber()); |
if (!current_version.IsValid()) { |
NOTREACHED(); |
return false; |