diff options
author | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-11 19:25:52 +0000 |
---|---|---|
committer | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-11 19:25:52 +0000 |
commit | b8889fa5e6eab350802689bb76f4081857977add (patch) | |
tree | 20a49fe95071a4080acf42444de13df412b5ae91 /webkit/glue/webframe_impl.cc | |
parent | 74417a819d52539d3b23ab4fc22143f080cc575c (diff) | |
download | chromium_src-b8889fa5e6eab350802689bb76f4081857977add.zip chromium_src-b8889fa5e6eab350802689bb76f4081857977add.tar.gz chromium_src-b8889fa5e6eab350802689bb76f4081857977add.tar.bz2 |
Reverting 11453.
Reverting as reliability tests are red
Review URL: http://codereview.chromium.org/43092
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11470 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webframe_impl.cc')
-rw-r--r-- | webkit/glue/webframe_impl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/glue/webframe_impl.cc b/webkit/glue/webframe_impl.cc index 4894a7d..bf4fb03 100644 --- a/webkit/glue/webframe_impl.cc +++ b/webkit/glue/webframe_impl.cc @@ -492,7 +492,7 @@ bool WebFrameImpl::GetPreviousHistoryState(std::string* history_state) const { // is expected to query the history state after a navigation occurs, after // the desired history item has become the previous entry. RefPtr<HistoryItem> item = webview_impl_->GetPreviousHistoryItem(); - if (!item) + if (!item || item->lastVisitWasFailure()) return false; static StatsCounterTimer history_timer("GetHistoryTimer"); |