diff options
Diffstat (limited to 'chrome/browser/tab_contents/tab_contents.cc')
-rw-r--r-- | chrome/browser/tab_contents/tab_contents.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/tab_contents/tab_contents.cc b/chrome/browser/tab_contents/tab_contents.cc index 384cdd1..a869687 100644 --- a/chrome/browser/tab_contents/tab_contents.cc +++ b/chrome/browser/tab_contents/tab_contents.cc @@ -478,7 +478,7 @@ RenderProcessHost* TabContents::GetRenderProcessHost() const { } void TabContents::SetAppExtension(Extension* extension) { - DCHECK(!extension || extension->GetFullLaunchURL().is_valid()); + DCHECK(!extension || extension->IsApp()); app_extension_ = extension; NotificationService::current()->Notify( @@ -1284,7 +1284,7 @@ TabContents* TabContents::CloneAndMakePhantom() { NavigationEntry* entry = controller().GetActiveEntry(); if (app_extension_) - tab_nav.set_url(app_extension_->GetFullLaunchURL()); + tab_nav.set_url(app_extension_->app_launch_url()); else if (entry) tab_nav.SetFromNavigationEntry(*entry); |