summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webframe_impl.cc
diff options
context:
space:
mode:
authorjcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-11 19:25:52 +0000
committerjcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-11 19:25:52 +0000
commitb8889fa5e6eab350802689bb76f4081857977add (patch)
tree20a49fe95071a4080acf42444de13df412b5ae91 /webkit/glue/webframe_impl.cc
parent74417a819d52539d3b23ab4fc22143f080cc575c (diff)
downloadchromium_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.cc2
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");