summaryrefslogtreecommitdiffstats
path: root/chrome/browser/navigation_controller_unittest.cc
diff options
context:
space:
mode:
authorsky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-30 16:17:04 +0000
committersky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-30 16:17:04 +0000
commitf1c7411610f2f849f74eb8d911665e607657a028 (patch)
tree36ec27c156cf13364d894cda85b0bd2d480577ec /chrome/browser/navigation_controller_unittest.cc
parent4a2a0a627b45ecd5541856f7c00f4bc9ada8e766 (diff)
downloadchromium_src-f1c7411610f2f849f74eb8d911665e607657a028.zip
chromium_src-f1c7411610f2f849f74eb8d911665e607657a028.tar.gz
chromium_src-f1c7411610f2f849f74eb8d911665e607657a028.tar.bz2
Makes form resubmission dialog work again. This was a regression
introduced during NavigationController refactoring. BUG=2616 TEST=see bug Review URL: http://codereview.chromium.org/8865 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4212 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 8f3c865..64dae5e 100644
--- a/chrome/browser/navigation_controller_unittest.cc
+++ b/chrome/browser/navigation_controller_unittest.cc
@@ -483,7 +483,7 @@ TEST_F(NavigationControllerTest, Reload) {
contents->CompleteNavigationAsRenderer(0, url1);
EXPECT_TRUE(notifications.Check1AndReset(NOTIFY_NAV_ENTRY_COMMITTED));
- contents->controller()->Reload();
+ contents->controller()->Reload(true);
EXPECT_EQ(0, notifications.size());
// The reload is pending.
@@ -520,7 +520,7 @@ TEST_F(NavigationControllerTest, Reload_GeneratesNewPage) {
contents->CompleteNavigationAsRenderer(0, url1);
EXPECT_TRUE(notifications.Check1AndReset(NOTIFY_NAV_ENTRY_COMMITTED));
- contents->controller()->Reload();
+ contents->controller()->Reload(true);
EXPECT_EQ(0, notifications.size());
contents->CompleteNavigationAsRenderer(1, url2);