| Index: chrome/browser/ui/browser_navigator_browsertest.cc
|
| diff --git a/chrome/browser/ui/browser_navigator_browsertest.cc b/chrome/browser/ui/browser_navigator_browsertest.cc
|
| index 9aee2665780eba62b5bbcd9615806ca07d33a06a..e6e4e0e23bcc82e4ad1bf67fcf7b16f2925778cd 100644
|
| --- a/chrome/browser/ui/browser_navigator_browsertest.cc
|
| +++ b/chrome/browser/ui/browser_navigator_browsertest.cc
|
| @@ -156,7 +156,7 @@ void BrowserNavigatorTest::Observe(
|
| const content::NotificationSource& source,
|
| const content::NotificationDetails& details) {
|
| switch (type) {
|
| - case content::NOTIFICATION_RENDER_VIEW_HOST_CREATED_FOR_TAB: {
|
| + case content::NOTIFICATION_WEB_CONTENTS_RENDER_VIEW_HOST_CREATED: {
|
| ++this->created_tab_contents_count_;
|
| break;
|
| }
|
| @@ -189,7 +189,8 @@ IN_PROC_BROWSER_TEST_F(BrowserNavigatorTest, Disposition_SingletonTabExisting) {
|
| content::NotificationRegistrar registrar;
|
|
|
| // As the registrar object goes out of scope, this will get unregistered
|
| - registrar.Add(this, content::NOTIFICATION_RENDER_VIEW_HOST_CREATED_FOR_TAB,
|
| + registrar.Add(this,
|
| + content::NOTIFICATION_WEB_CONTENTS_RENDER_VIEW_HOST_CREATED,
|
| content::NotificationService::AllSources());
|
|
|
| chrome::AddSelectedTabWithURL(browser(), singleton_url1,
|
|
|