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

Unified Diff: content/browser/frame_host/render_frame_host_impl.cc

Issue 2915813002: Add missing return statement after ReceivedBadMessage call. (Closed)
Patch Set: Created 3 years, 7 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
Index: content/browser/frame_host/render_frame_host_impl.cc
diff --git a/content/browser/frame_host/render_frame_host_impl.cc b/content/browser/frame_host/render_frame_host_impl.cc
index 7e28d332730e878e86e9e13aa5603db59d315a56..3c35c42be69f6bf47aef8c4677716b442853c5ef 100644
--- a/content/browser/frame_host/render_frame_host_impl.cc
+++ b/content/browser/frame_host/render_frame_host_impl.cc
@@ -2203,6 +2203,7 @@ void RenderFrameHostImpl::OnBeginNavigation(
// Kills the process. http://crbug.com/726142
bad_message::ReceivedBadMessage(
GetProcess(), bad_message::RFH_BASE_URL_FOR_DATA_URL_SPECIFIED);
+ return;
}
BeginNavigationParams validated_begin_params = begin_params;

Powered by Google App Engine
This is Rietveld 408576698