summaryrefslogtreecommitdiffstats
path: root/chrome/browser/navigation_controller_unittest.cc
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-17 21:29:15 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-17 21:29:15 +0000
commit325ff88aecfd0b14ee2b69c6d5eb0e0ed7764cf9 (patch)
tree35cbc99b42ae6e4cca2202f132ffc12188c3b18c /chrome/browser/navigation_controller_unittest.cc
parent44d11123d43b38956b7c2224e0d6aa2d48acbb3c (diff)
downloadchromium_src-325ff88aecfd0b14ee2b69c6d5eb0e0ed7764cf9.zip
chromium_src-325ff88aecfd0b14ee2b69c6d5eb0e0ed7764cf9.tar.gz
chromium_src-325ff88aecfd0b14ee2b69c6d5eb0e0ed7764cf9.tar.bz2
Rollback! Now with 25% more HWND.
:-/ git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5573 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/navigation_controller_unittest.cc')
-rw-r--r--chrome/browser/navigation_controller_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/navigation_controller_unittest.cc b/chrome/browser/navigation_controller_unittest.cc
index f7baada..64dae5e 100644
--- a/chrome/browser/navigation_controller_unittest.cc
+++ b/chrome/browser/navigation_controller_unittest.cc
@@ -52,7 +52,7 @@ class NavigationControllerTest : public testing::Test,
contents = new TestTabContents(type1());
contents->set_delegate(this);
- contents->CreateView();
+ contents->CreateView(::GetDesktopWindow(), gfx::Rect());
contents->SetupController(profile);
}
@@ -1233,7 +1233,7 @@ TEST_F(NavigationControllerTest, RestoreNavigate) {
navigations.push_back(TabNavigation(0, url, GURL(), L"Title", "state",
PageTransition::LINK));
NavigationController* controller =
- new NavigationController(profile, navigations, 0);
+ new NavigationController(profile, navigations, 0, NULL);
controller->GoToIndex(0);
// We should now have one entry, and it should be "pending".