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

Unified Diff: content/renderer/render_frame_impl.cc

Issue 922373004: Remove CHECK from createChildFrame (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 61d935ca6fcb8152f70d5bbdad65e9c2b725dac3..a0e63e38b01b243425dc0d84c684cd7ba423fe18 100644
--- a/content/renderer/render_frame_impl.cc
+++ b/content/renderer/render_frame_impl.cc
@@ -2032,11 +2032,9 @@ blink::WebFrame* RenderFrameImpl::createChildFrame(
// Synchronously notify the browser of a child frame creation to get the
// routing_id for the RenderFrame.
int child_routing_id = MSG_ROUTING_NONE;
- CHECK(Send(new FrameHostMsg_CreateChildFrame(
- routing_id_,
- base::UTF16ToUTF8(name),
- WebToContentSandboxFlags(sandbox_flags),
- &child_routing_id)));
+ Send(new FrameHostMsg_CreateChildFrame(
+ routing_id_, base::UTF16ToUTF8(name),
+ WebToContentSandboxFlags(sandbox_flags), &child_routing_id));
// Allocation of routing id failed, so we can't create a child frame. This can
// happen if this RenderFrameImpl's IPCs are being filtered when in swapped
« 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