| Index: chrome/browser/ui/cocoa/passwords/account_chooser_view_controller_unittest.mm
|
| diff --git a/chrome/browser/ui/cocoa/passwords/account_chooser_view_controller_unittest.mm b/chrome/browser/ui/cocoa/passwords/account_chooser_view_controller_unittest.mm
|
| index f75b0b4b1353e83e52f8887eb8585a2a948486cd..4bac07311ddfd23dd9f1d68c099fc02c1f63cc0b 100644
|
| --- a/chrome/browser/ui/cocoa/passwords/account_chooser_view_controller_unittest.mm
|
| +++ b/chrome/browser/ui/cocoa/passwords/account_chooser_view_controller_unittest.mm
|
| @@ -10,6 +10,7 @@
|
|
|
| #include "base/mac/foundation_util.h"
|
| #include "base/mac/scoped_nsobject.h"
|
| +#include "base/stl_util.h"
|
| #include "base/strings/string16.h"
|
| #include "base/strings/sys_string_conversions.h"
|
| #include "base/strings/utf_string_conversions.h"
|
| @@ -171,10 +172,8 @@ TEST_F(AccountChooserViewControllerTest, ForwardsAvatarFetchToManager) {
|
| local_forms.push_back(std::move(form));
|
| SetUpAccountChooser(&local_forms);
|
| EXPECT_FALSE(avatar_manager().fetchedAvatars.empty());
|
| - EXPECT_TRUE(std::find(avatar_manager().fetchedAvatars.begin(),
|
| - avatar_manager().fetchedAvatars.end(),
|
| - GURL("http://foo.com")) !=
|
| - avatar_manager().fetchedAvatars.end());
|
| + EXPECT_TRUE(base::ContainsValue(avatar_manager().fetchedAvatars,
|
| + GURL("http://foo.com")));
|
| }
|
|
|
| TEST_F(AccountChooserViewControllerTest,
|
|
|