| Index: chrome/browser/sxs_linux.cc
|
| diff --git a/chrome/browser/sxs_linux.cc b/chrome/browser/sxs_linux.cc
|
| index 57b2ef14116ce665d593b6a53df0f7ede8cf9948..ad529d1567ee67a987c79eb45d172048f69abf1c 100644
|
| --- a/chrome/browser/sxs_linux.cc
|
| +++ b/chrome/browser/sxs_linux.cc
|
| @@ -12,6 +12,7 @@
|
| #include "base/files/important_file_writer.h"
|
| #include "base/logging.h"
|
| #include "base/path_service.h"
|
| +#include "base/stl_util.h"
|
| #include "base/strings/string_split.h"
|
| #include "base/strings/string_util.h"
|
| #include "chrome/common/channel_info.h"
|
| @@ -72,9 +73,7 @@ bool DoAddChannelMarkToUserDataDir(const base::FilePath& user_data_dir) {
|
| base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL);
|
| }
|
|
|
| - if (std::find(user_data_dir_channels.begin(),
|
| - user_data_dir_channels.end(),
|
| - product_channel_name) != user_data_dir_channels.end()) {
|
| + if (ContainsValue(user_data_dir_channels, product_channel_name)) {
|
| // No need to do further disk writes if our channel mark is already present.
|
| return true;
|
| }
|
|
|