diff options
Diffstat (limited to 'chrome/browser/extensions/extension_tabs_module.cc')
-rw-r--r-- | chrome/browser/extensions/extension_tabs_module.cc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/chrome/browser/extensions/extension_tabs_module.cc b/chrome/browser/extensions/extension_tabs_module.cc index 85ff76a..f31e98a 100644 --- a/chrome/browser/extensions/extension_tabs_module.cc +++ b/chrome/browser/extensions/extension_tabs_module.cc @@ -60,6 +60,8 @@ namespace keys = extension_tabs_module_constants; namespace errors = extension_manifest_errors; +using content::OpenURLParams; +using content::Referrer; using content::WebContents; const int CaptureVisibleTabFunction::kDefaultQuality = 90; @@ -1376,8 +1378,9 @@ bool ReloadTabFunction::RunImpl() { if (tab_contents->ShowingInterstitialPage()) { // This does as same as Browser::ReloadInternal. NavigationEntry* entry = tab_contents->GetController().GetActiveEntry(); - GetCurrentBrowser()->OpenURL(entry->GetURL(), GURL(), CURRENT_TAB, - content::PAGE_TRANSITION_RELOAD); + OpenURLParams params(entry->GetURL(), Referrer(), CURRENT_TAB, + content::PAGE_TRANSITION_RELOAD, false); + GetCurrentBrowser()->OpenURL(params); } else if (bypass_cache) { tab_contents->GetController().ReloadIgnoringCache(true); } else { |