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

Unified Diff: content/renderer/render_frame_impl.cc

Issue 2862093002: Remove DCHECK that crashes.
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
« no previous file with comments | « content/common/frame_messages.h ('k') | 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 ff488741db1997fee661106571a7f1408ec9f566..024aafb42713915c2e36f0c8ec7cceac3e72b110 100644
--- a/content/renderer/render_frame_impl.cc
+++ b/content/renderer/render_frame_impl.cc
@@ -4279,9 +4279,8 @@ bool RenderFrameImpl::RunModalBeforeUnloadDialog(bool is_reload) {
// This is an ignored return value, but is included so we can accept the same
// response as RunJavaScriptDialog.
base::string16 ignored_result;
- Send(new FrameHostMsg_RunBeforeUnloadConfirm(
- routing_id_, frame_->GetDocument().Url(), is_reload, &success,
- &ignored_result));
+ Send(new FrameHostMsg_RunBeforeUnloadConfirm(routing_id_, is_reload, &success,
+ &ignored_result));
return success;
}
« no previous file with comments | « content/common/frame_messages.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698