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

Unified Diff: content/renderer/render_frame_impl.cc

Issue 2318313002: Add a NOTREACHED for same document load with no history item. (Closed)
Patch Set: Created 4 years, 3 months 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_frame_impl.cc
diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc
index 52c0c387f4980c2760f4f1f98f267f606203db3c..211feb3e0620db61ffcba825b9552794064e7d63 100644
--- a/content/renderer/render_frame_impl.cc
+++ b/content/renderer/render_frame_impl.cc
@@ -5538,6 +5538,7 @@ void RenderFrameImpl::NavigateInternal(
// happen.
if (current_history_item_.isNull()) {
history_load_type = blink::WebHistoryDifferentDocumentLoad;
+ NOTREACHED();
} else {
// Additionally, if the |current_history_item_|'s document
// sequence number doesn't match the one sent from the browser, it
« 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