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

Unified Diff: content/renderer/render_frame_impl.cc

Issue 2780993003: Remove redundant WebLocalFrame* parameter from didCreateDataSource (Closed)
Patch Set: Changed to just dcheck change Created 3 years, 8 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 c233bc8131ad5c788eb93a1c02476d4d8dfdf400..8851a2f0c4ce4b3ea93444549afa94d0e0e3b424 100644
--- a/content/renderer/render_frame_impl.cc
+++ b/content/renderer/render_frame_impl.cc
@@ -3463,7 +3463,7 @@ void RenderFrameImpl::WillSubmitForm(const blink::WebFormElement& form) {
void RenderFrameImpl::DidCreateDataSource(blink::WebLocalFrame* frame,
blink::WebDataSource* datasource) {
- DCHECK(!frame_ || frame_ == frame);
+ DCHECK(frame_ == frame);
bool content_initiated = !pending_navigation_params_.get();
« 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