diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-17 03:18:05 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-17 03:18:05 +0000 |
commit | 01ba8f51513c615c2d54ed3ea8f26d9d8872af59 (patch) | |
tree | d28c24d57fb3b4ffb3e0496d52a18c3c81fdb8ac /chrome/browser/navigation_controller_unittest.cc | |
parent | 9016e4ded1301f0869a2c30779696db56ccea30f (diff) | |
download | chromium_src-01ba8f51513c615c2d54ed3ea8f26d9d8872af59.zip chromium_src-01ba8f51513c615c2d54ed3ea8f26d9d8872af59.tar.gz chromium_src-01ba8f51513c615c2d54ed3ea8f26d9d8872af59.tar.bz2 |
fixing bustage
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5555 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/navigation_controller_unittest.cc')
-rw-r--r-- | chrome/browser/navigation_controller_unittest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/navigation_controller_unittest.cc b/chrome/browser/navigation_controller_unittest.cc index 64dae5e..f7baada 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(::GetDesktopWindow(), gfx::Rect()); + contents->CreateView(); 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, NULL); + new NavigationController(profile, navigations, 0); controller->GoToIndex(0); // We should now have one entry, and it should be "pending". |