Index: chrome/browser/sessions/session_restore_browsertest.cc |
=================================================================== |
--- chrome/browser/sessions/session_restore_browsertest.cc (revision 116244) |
+++ chrome/browser/sessions/session_restore_browsertest.cc (working copy) |
@@ -13,9 +13,9 @@ |
#include "chrome/browser/ui/browser_window.h" |
#include "chrome/test/base/in_process_browser_test.h" |
#include "chrome/test/base/ui_test_utils.h" |
-#include "content/browser/tab_contents/tab_contents.h" |
#include "content/public/browser/notification_service.h" |
#include "content/public/browser/notification_types.h" |
+#include "content/public/browser/web_contents.h" |
#include "content/public/common/page_transition_types.h" |
namespace { |
@@ -107,7 +107,7 @@ |
ASSERT_EQ(1, new_browser->tab_count()); |
// And the first url should be url. |
- EXPECT_EQ(url, new_browser->GetTabContentsAt(0)->GetURL()); |
+ EXPECT_EQ(url, new_browser->GetWebContentsAt(0)->GetURL()); |
} |
IN_PROC_BROWSER_TEST_F(SessionRestoreTest, RestoreIndividualTabFromWindow) { |
@@ -232,5 +232,5 @@ |
// The first tab should have 'url' as its url. |
Browser* new_browser = ui_test_utils::WaitForNewBrowser(); |
ASSERT_TRUE(new_browser); |
- EXPECT_EQ(url, new_browser->GetTabContentsAt(0)->GetURL()); |
+ EXPECT_EQ(url, new_browser->GetWebContentsAt(0)->GetURL()); |
} |