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

Issue 2780993003: Remove redundant WebLocalFrame* parameter from didCreateDataSource (Closed)

Created:
3 years, 8 months ago by sashab
Modified:
3 years, 7 months ago
CC:
blink-reviews, blink-reviews-api_chromium.org, chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, dglazkov+blink, jam, kinuko+watch, mlamouri+watch-content_chromium.org, nasko+codewatch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove redundant WebLocalFrame* parameter from didCreateDataSource Remove redundant WebLocalFrame* parameter from didCreateDataSource in WebFrameClient. BUG=361765

Patch Set 1 #

Patch Set 2 : Rebased onto asserts patch #

Total comments: 1

Patch Set 3 : Changed to just dcheck change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M content/renderer/render_frame_impl.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 24 (15 generated)
sashab
3 years, 8 months ago (2017-03-29 03:18:18 UTC) #2
dglazkov
lgtm
3 years, 8 months ago (2017-03-29 03:20:46 UTC) #4
joelhockey
lgtm
3 years, 8 months ago (2017-03-29 03:22:27 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2780993003/20001
3 years, 8 months ago (2017-03-30 01:39:02 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/398292)
3 years, 8 months ago (2017-03-30 01:55:36 UTC) #10
sashab
jochen ptal @ content
3 years, 8 months ago (2017-03-30 02:01:40 UTC) #12
jochen (gone - plz use gerrit)
https://codereview.chromium.org/2780993003/diff/20001/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (left): https://codereview.chromium.org/2780993003/diff/20001/content/renderer/render_frame_impl.cc#oldcode3389 content/renderer/render_frame_impl.cc:3389: DCHECK(!frame_ || frame_ == frame); this doesn't look like ...
3 years, 8 months ago (2017-03-30 11:43:43 UTC) #13
sashab
dcheng -- for the DCHECK I've removed, what's the case where |frame_| would be null, ...
3 years, 8 months ago (2017-03-31 00:35:54 UTC) #15
dcheng
3 years, 8 months ago (2017-03-31 01:00:28 UTC) #18
On 2017/03/31 00:35:54, sashab wrote:
> dcheng -- for the DCHECK I've removed, what's the case where |frame_| would be
> null, and not equal to |frame|? That sounds like a fix I'd need to submit in a
> prior patch.

It looks like there's a bit of a chicken-and-egg problem: when bootstrapping
frame creation, we call out to the embedder. But of course, at that point,
content::RenderFrameImpl can't set |frame_| yet because WebLocalFrame is still
being constructed.

Powered by Google App Engine
This is Rietveld 408576698