| Index: chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc
|
| diff --git a/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc b/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc
|
| index 3ffbad1aceb3bdc3e2eee6ebd5c05276677753f2..7e1cdb3a1564b89eb14d3fd1b4586fc93392c856 100644
|
| --- a/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc
|
| +++ b/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc
|
| @@ -9,6 +9,7 @@
|
| #include "base/guid.h"
|
| #include "base/logging.h"
|
| #include "base/metrics/histogram.h"
|
| +#include "base/stl_util.h"
|
| #include "base/strings/utf_string_conversions.h"
|
| #include "base/values.h"
|
| #include "chrome/browser/browser_process.h"
|
| @@ -160,8 +161,7 @@ void PushFrontIMIfNotExists(const std::string& input_method,
|
| if (input_method.empty())
|
| return;
|
|
|
| - if (std::find(input_methods->begin(), input_methods->end(), input_method) ==
|
| - input_methods->end())
|
| + if (!ContainsValue(*input_methods, input_method))
|
| input_methods->insert(input_methods->begin(), input_method);
|
| }
|
|
|
|
|