Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1843)

Unified Diff: content/renderer/render_view_impl.cc

Issue 8817006: Crash earlier if a session restore entry doesn't have content state. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view_impl.cc
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
index 578eb5ee30171aa8894638deb157e7759b6acda9..82e910f7dd5f9ea163762c5913fab2db0886473f 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -776,7 +776,7 @@ void RenderViewImpl::OnNavigate(const ViewMsg_Navigate_Params& params) {
WebURLRequest request(params.url);
// A session history navigation should have been accompanied by state.
- DCHECK_EQ(params.page_id, -1);
+ CHECK_EQ(params.page_id, -1);
if (main_frame->isViewSourceModeEnabled())
request.setCachePolicy(WebURLRequest::ReturnCacheDataElseLoad);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698