| Index: components/component_updater/default_component_installer.cc
|
| diff --git a/components/component_updater/default_component_installer.cc b/components/component_updater/default_component_installer.cc
|
| index e4eb99cba721b76e840e46f6437c4bc5ac05da16..b757c0d49b48b77438d82dd10546b3ca970a40d4 100644
|
| --- a/components/component_updater/default_component_installer.cc
|
| +++ b/components/component_updater/default_component_installer.cc
|
| @@ -84,7 +84,7 @@ bool DefaultComponentInstaller::Install(const base::DictionaryValue& manifest,
|
| const base::FilePath& unpack_path) {
|
| std::string manifest_version;
|
| manifest.GetStringASCII("version", &manifest_version);
|
| - base::Version version(manifest_version.c_str());
|
| + base::Version version(manifest_version);
|
| if (!version.IsValid())
|
| return false;
|
| if (current_version_.CompareTo(version) > 0)
|
|
|