| Index: chrome/installer/setup/setup_util.cc
|
| diff --git a/chrome/installer/setup/setup_util.cc b/chrome/installer/setup/setup_util.cc
|
| index b845061940951f2e1d58219e2e783832e9f205fe..da56a175dd9dacd605167358aa0023bb591c2992 100644
|
| --- a/chrome/installer/setup/setup_util.cc
|
| +++ b/chrome/installer/setup/setup_util.cc
|
| @@ -15,6 +15,7 @@
|
| #include <limits>
|
| #include <set>
|
| #include <string>
|
| +#include <utility>
|
|
|
| #include "base/bind.h"
|
| #include "base/command_line.h"
|
| @@ -335,7 +336,7 @@ base::Version* GetMaxVersionFromArchiveDir(const base::FilePath& chrome_path) {
|
| new base::Version(base::UTF16ToASCII(find_data.GetName().value())));
|
| if (found_version->IsValid() &&
|
| found_version->CompareTo(*max_version.get()) > 0) {
|
| - max_version.reset(found_version.release());
|
| + max_version = std::move(found_version);
|
| version_found = true;
|
| }
|
| }
|
|
|