summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-02 20:38:22 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-02 20:38:22 +0000
commitee61392aa2dafe8bf6275a781b24ab0b35d0254e (patch)
treecbe8e94683758897b7efb052d14cf299b33bbfb0 /chrome/browser/cocoa
parent5980c304e7cdc554af5a2eba4d5cca573b0b0d1f (diff)
downloadchromium_src-ee61392aa2dafe8bf6275a781b24ab0b35d0254e.zip
chromium_src-ee61392aa2dafe8bf6275a781b24ab0b35d0254e.tar.gz
chromium_src-ee61392aa2dafe8bf6275a781b24ab0b35d0254e.tar.bz2
Remove the ability to load lazy URLs from the NavigationController. This is no
longer used (except for a test that doens't seem to need it). We used to use this feature for session restore, but it has since changed. TEST=none BUG=none Review URL: http://codereview.chromium.org/191008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25234 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa')
-rw-r--r--chrome/browser/cocoa/blocked_popup_container_controller_unittest.mm5
1 files changed, 2 insertions, 3 deletions
diff --git a/chrome/browser/cocoa/blocked_popup_container_controller_unittest.mm b/chrome/browser/cocoa/blocked_popup_container_controller_unittest.mm
index 393d4a6..623ee27 100644
--- a/chrome/browser/cocoa/blocked_popup_container_controller_unittest.mm
+++ b/chrome/browser/cocoa/blocked_popup_container_controller_unittest.mm
@@ -69,9 +69,8 @@ class BlockedPopupContainerControllerTest : public RenderViewHostTestHarness {
TEST_F(BlockedPopupContainerControllerTest, BasicPopupBlock) {
// This is taken from the popup blocker unit test.
TabContents* popup = BuildTabContents();
- popup->controller().LoadURLLazily(GetTestCase("error"), GURL(),
- PageTransition::LINK,
- L"", NULL);
+ popup->controller().LoadURL(GetTestCase("error"), GURL(),
+ PageTransition::LINK);
container_->AddTabContents(popup, gfx::Rect(), host1);
EXPECT_EQ(container_->GetBlockedPopupCount(), static_cast<size_t>(1));
EXPECT_EQ(container_->GetTabContentsAt(0), popup);