Index: components/update_client/test_installer.cc |
diff --git a/components/update_client/test_installer.cc b/components/update_client/test_installer.cc |
index ad6015b980083cba9386902bfad983e741bdbd14..7a291994bc582c61717ad5473b7280d25463246f 100644 |
--- a/components/update_client/test_installer.cc |
+++ b/components/update_client/test_installer.cc |
@@ -62,7 +62,7 @@ bool VersionedTestInstaller::Install(const base::DictionaryValue& manifest, |
const base::FilePath& unpack_path) { |
std::string version_string; |
manifest.GetStringASCII("version", &version_string); |
- Version version(version_string.c_str()); |
+ base::Version version(version_string); |
base::FilePath path; |
path = install_directory_.AppendASCII(version.GetString()); |