diff options
author | petewil <petewil@chromium.org> | 2016-03-25 10:02:04 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-25 17:03:34 +0000 |
commit | a40c06f32958adf0ab2380cacbf32d0abc925247 (patch) | |
tree | 76d0c68d311703df83258b2ae0d74964d6e62b21 /chrome | |
parent | 7266593ab1e0e9480541bf074ff703c658f8aaf5 (diff) | |
download | chromium_src-a40c06f32958adf0ab2380cacbf32d0abc925247.zip chromium_src-a40c06f32958adf0ab2380cacbf32d0abc925247.tar.gz chromium_src-a40c06f32958adf0ab2380cacbf32d0abc925247.tar.bz2 |
It looks like our code to prevent seeing both the online and offline
versions of a page in the back stack is causing a problem down the line
which results in a crash. Disabling the feature for now so we can stop
the crash, we intend to re-enable later.
BUG=597753
Review URL: https://codereview.chromium.org/1836513002
Cr-Commit-Position: refs/heads/master@{#383291}
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/browser/android/offline_pages/offline_page_tab_helper.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/chrome/browser/android/offline_pages/offline_page_tab_helper.cc b/chrome/browser/android/offline_pages/offline_page_tab_helper.cc index 2abf13a..d2fcd26 100644 --- a/chrome/browser/android/offline_pages/offline_page_tab_helper.cc +++ b/chrome/browser/android/offline_pages/offline_page_tab_helper.cc @@ -115,7 +115,6 @@ void OfflinePageTabHelper::RedirectFromOfflineToOnline(const GURL& online_url) { UMA_HISTOGRAM_COUNTS("OfflinePages.RedirectToOnlineCount", 1); content::NavigationController::LoadURLParams load_params(online_url); load_params.transition_type = ui::PAGE_TRANSITION_CLIENT_REDIRECT; - load_params.should_replace_current_entry = true; web_contents()->GetController().LoadURLWithParams(load_params); } @@ -124,7 +123,6 @@ void OfflinePageTabHelper::RedirectFromOnlineToOffline( UMA_HISTOGRAM_COUNTS("OfflinePages.RedirectToOfflineCount", 1); content::NavigationController::LoadURLParams load_params(offline_url); load_params.transition_type = ui::PAGE_TRANSITION_CLIENT_REDIRECT; - load_params.should_replace_current_entry = true; web_contents()->GetController().LoadURLWithParams(load_params); } |