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 bec975b9156f5ac7d7fe1efed8757a6954ce7b8d..fbcbc812b56a5b7a95d2820ca6b11bb951765dcc 100644 |
--- a/chrome/renderer/autofill/password_autofill_agent_browsertest.cc |
+++ b/chrome/renderer/autofill/password_autofill_agent_browsertest.cc |
@@ -396,12 +396,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(); |
} |