| Index: chrome/installer/util/shell_util.cc
|
| diff --git a/chrome/installer/util/shell_util.cc b/chrome/installer/util/shell_util.cc
|
| index d143ffbfa57a37abebcb67ad78bc92d6b317982a..0f49ebc97d897d6542f1a3288d26bbb0687b1804 100644
|
| --- a/chrome/installer/util/shell_util.cc
|
| +++ b/chrome/installer/util/shell_util.cc
|
| @@ -372,7 +372,7 @@ bool AnotherUserHasDefaultBrowser(BrowserDistribution* dist,
|
| std::vector<std::wstring> v1, v2;
|
| base::SplitString(registry_chrome_exe, L'\\', &v1);
|
| base::SplitString(chrome_exe, L'\\', &v2);
|
| - if (v1.size() == 0 || v2.size() == 0 || v1.size() != v2.size())
|
| + if (v1.empty() || v2.empty() || v1.size() != v2.size())
|
| return false;
|
|
|
| // Now check that only one of the values within two '\' chars differ.
|
|
|