| Index: chrome/installer/setup/setup_util.cc
|
| diff --git a/chrome/installer/setup/setup_util.cc b/chrome/installer/setup/setup_util.cc
|
| index 1626ab0ed5fe65ee4937e71018bf90531512b96f..c588406ac6b76d7c9ff3f64ab37c6a5b46d2e183 100644
|
| --- a/chrome/installer/setup/setup_util.cc
|
| +++ b/chrome/installer/setup/setup_util.cc
|
| @@ -18,6 +18,7 @@
|
| #include "base/process/launch.h"
|
| #include "base/process/process_handle.h"
|
| #include "base/strings/string_util.h"
|
| +#include "base/strings/utf_string_conversions.h"
|
| #include "base/version.h"
|
| #include "base/win/registry.h"
|
| #include "base/win/windows_version.h"
|
| @@ -155,7 +156,7 @@ Version* GetMaxVersionFromArchiveDir(const base::FilePath& chrome_path) {
|
| VLOG(1) << "directory found: " << find_data.GetName().value();
|
|
|
| scoped_ptr<Version> found_version(
|
| - new Version(WideToASCII(find_data.GetName().value())));
|
| + new Version(base::UTF16ToASCII(find_data.GetName().value())));
|
| if (found_version->IsValid() &&
|
| found_version->CompareTo(*max_version.get()) > 0) {
|
| max_version.reset(found_version.release());
|
|
|