diff options
Diffstat (limited to 'chrome/browser/ui/blocked_content')
-rw-r--r-- | chrome/browser/ui/blocked_content/blocked_content_tab_helper.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/ui/blocked_content/blocked_content_tab_helper.cc b/chrome/browser/ui/blocked_content/blocked_content_tab_helper.cc index fc24f03..ac3b8d6 100644 --- a/chrome/browser/ui/blocked_content/blocked_content_tab_helper.cc +++ b/chrome/browser/ui/blocked_content/blocked_content_tab_helper.cc @@ -80,7 +80,8 @@ void BlockedContentTabHelper::AddPopup(TabContentsWrapper* new_contents, // entry is the page to be loaded as we navigate away from the unloading // page. For this reason, we can't use GetURL() to get the opener URL, // because it returns the active entry. - NavigationEntry* entry = tab_contents()->controller().GetLastCommittedEntry(); + NavigationEntry* entry = + tab_contents()->GetController().GetLastCommittedEntry(); GURL creator = entry ? entry->virtual_url() : GURL::EmptyGURL(); Profile* profile = Profile::FromBrowserContext(tab_contents()->browser_context()); |