Index: content/browser/renderer_host/resource_dispatcher_host_browsertest.cc |
diff --git a/content/browser/renderer_host/resource_dispatcher_host_browsertest.cc b/content/browser/renderer_host/resource_dispatcher_host_browsertest.cc |
index 18b72e23007507bc72500bee552b5402aa8b7198..77508cc550fe4381a27a180ce38ec439c09928e8 100644 |
--- a/content/browser/renderer_host/resource_dispatcher_host_browsertest.cc |
+++ b/content/browser/renderer_host/resource_dispatcher_host_browsertest.cc |
@@ -9,7 +9,6 @@ |
#include "chrome/test/base/ui_test_utils.h" |
#include "content/browser/web_contents/web_contents_impl.h" |
#include "content/public/browser/notification_service.h" |
-#include "content/public/browser/notification_types.h" |
#include "net/test/test_server.h" |
class ResourceDispatcherHostBrowserTest : public InProcessBrowserTest { |
@@ -30,8 +29,7 @@ bool ResourceDispatcherHostBrowserTest::GetPopupTitle(const GURL& url, |
string16* title) { |
ui_test_utils::NavigateToURL(browser(), url); |
- ui_test_utils::WindowedNotificationObserver observer( |
- content::NOTIFICATION_TAB_ADDED, |
+ ui_test_utils::WindowedTabAddedNotificationObserver observer( |
content::NotificationService::AllSources()); |
// Create dynamic popup. |