| Index: chrome/renderer/autofill/password_autofill_agent_browsertest.cc
|
| diff --git a/chrome/renderer/autofill/password_autofill_agent_browsertest.cc b/chrome/renderer/autofill/password_autofill_agent_browsertest.cc
|
| index 36e0496ef05e4ac048bd74d3734bc7453b53a02e..8e18e077d3cc3387eaf52c52d5d6175a5e94732e 100644
|
| --- a/chrome/renderer/autofill/password_autofill_agent_browsertest.cc
|
| +++ b/chrome/renderer/autofill/password_autofill_agent_browsertest.cc
|
| @@ -410,12 +410,13 @@ class PasswordAutofillAgentTest : public ChromeRenderViewTest {
|
| render_thread_->sink().GetFirstMessageMatching(
|
| AutofillHostMsg_ShowPasswordSuggestions::ID);
|
| EXPECT_TRUE(message);
|
| - Tuple5<int, base::i18n::TextDirection, base::string16, bool, gfx::RectF>
|
| + Tuple5<int, base::i18n::TextDirection, base::string16, int, gfx::RectF>
|
| args;
|
| AutofillHostMsg_ShowPasswordSuggestions::Read(message, &args);
|
| EXPECT_EQ(kPasswordFillFormDataId, args.a);
|
| EXPECT_EQ(ASCIIToUTF16(username), args.c);
|
| - EXPECT_EQ(show_all, args.d);
|
| + int options = args.d;
|
| + EXPECT_EQ(show_all, options & ShowPasswordSuggestionsOptions::SHOW_ALL);
|
|
|
| render_thread_->sink().ClearMessages();
|
| }
|
|
|