Index: chrome/browser/ui/browser_commands.cc |
=================================================================== |
--- chrome/browser/ui/browser_commands.cc (revision 153076) |
+++ chrome/browser/ui/browser_commands.cc (working copy) |
@@ -118,17 +118,6 @@ |
void ReloadInternal(Browser* browser, |
WindowOpenDisposition disposition, |
bool ignore_cache) { |
- // If we are showing an interstitial, treat this as an OpenURL. |
- WebContents* current_tab = GetActiveWebContents(browser); |
- if (current_tab && current_tab->ShowingInterstitialPage()) { |
- NavigationEntry* entry = current_tab->GetController().GetActiveEntry(); |
- DCHECK(entry); // Should exist if interstitial is showing. |
- browser->OpenURL(OpenURLParams( |
- entry->GetURL(), Referrer(), disposition, |
- content::PAGE_TRANSITION_RELOAD, false)); |
- return; |
- } |
- |
// As this is caused by a user action, give the focus to the page. |
// |
// Also notify RenderViewHostDelegate of the user gesture; this is |