Index: chrome/browser/instant/instant_browsertest.cc |
diff --git a/chrome/browser/instant/instant_browsertest.cc b/chrome/browser/instant/instant_browsertest.cc |
index 45d38bea91f217469fe96c52c709f152a6ca6d2a..7d856c503346565e7f665031c725905930a0decf 100644 |
--- a/chrome/browser/instant/instant_browsertest.cc |
+++ b/chrome/browser/instant/instant_browsertest.cc |
@@ -619,7 +619,7 @@ IN_PROC_BROWSER_TEST_F(InstantTest, MAYBE(SearchServerDoesntSupportInstant)) { |
SetupInstantProvider("empty.html"); |
ui_test_utils::WindowedNotificationObserver tab_closed_observer( |
- content::NOTIFICATION_TAB_CLOSED, |
+ content::NOTIFICATION_WEB_CONTENTS_DESTROYED, |
content::NotificationService::AllSources()); |
omnibox()->SetUserText(ASCIIToUTF16("d")); |
@@ -645,7 +645,7 @@ IN_PROC_BROWSER_TEST_F(InstantTest, |
EXPECT_FALSE(preview()); |
ui_test_utils::WindowedNotificationObserver tab_closed_observer( |
- content::NOTIFICATION_TAB_CLOSED, |
+ content::NOTIFICATION_WEB_CONTENTS_DESTROYED, |
content::NotificationService::AllSources()); |
// Now type in some search text. |