| Index: chrome/browser/extensions/extension_browsertest.cc
|
| diff --git a/chrome/browser/extensions/extension_browsertest.cc b/chrome/browser/extensions/extension_browsertest.cc
|
| index ace18cd3c5d163a22bd734cf5daa15690fb3d91f..5f841d9c5dc1e7659719ff58e0a286de4deed7d6 100644
|
| --- a/chrome/browser/extensions/extension_browsertest.cc
|
| +++ b/chrome/browser/extensions/extension_browsertest.cc
|
| @@ -587,7 +587,7 @@ void ExtensionBrowserTest::OpenWindow(content::WebContents* contents,
|
| content::WebContents** newtab_result) {
|
| content::WindowedNotificationObserver windowed_observer(
|
| content::NOTIFICATION_LOAD_STOP,
|
| - content::NotificationService::AllSources());
|
| + content::Source<content::NavigationController>(&contents->GetController()));
|
| ASSERT_TRUE(content::ExecuteScript(contents,
|
| "window.open('" + url.spec() + "');"));
|
|
|
| @@ -618,7 +618,8 @@ void ExtensionBrowserTest::NavigateInRenderer(content::WebContents* contents,
|
| bool result = false;
|
| content::WindowedNotificationObserver windowed_observer(
|
| content::NOTIFICATION_LOAD_STOP,
|
| - content::NotificationService::AllSources());
|
| + content::Source<content::NavigationController>(&contents->GetController()));
|
| + //content::NotificationService::AllSources());
|
| ASSERT_TRUE(content::ExecuteScriptAndExtractBool(
|
| contents,
|
| "window.addEventListener('unload', function() {"
|
|
|