Index: chrome/browser/autofill/autofill_popup_view_browsertest.cc |
diff --git a/chrome/browser/autofill/autofill_popup_view_browsertest.cc b/chrome/browser/autofill/autofill_popup_view_browsertest.cc |
index 312aff01438340a2c572bb972340d4297dad78fd..f725ae4f40ca8ed3162a0d3b97a351213b19ffa0 100644 |
--- a/chrome/browser/autofill/autofill_popup_view_browsertest.cc |
+++ b/chrome/browser/autofill/autofill_popup_view_browsertest.cc |
@@ -80,7 +80,7 @@ IN_PROC_BROWSER_TEST_F(AutofillPopupViewBrowserTest, |
EXPECT_CALL(*autofill_popup_view_, Hide()).Times(AtLeast(1)); |
ui_test_utils::WindowedNotificationObserver observer( |
- content::NOTIFICATION_WEB_CONTENTS_HIDDEN, |
+ content::NOTIFICATION_WEB_CONTENTS_VISIBILITY_CHANGED, |
content::Source<content::WebContents>(web_contents_)); |
browser()->AddSelectedTabWithURL(GURL(chrome::kAboutBlankURL), |
content::PAGE_TRANSITION_START_PAGE); |