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

Issue 1775303003: Display appropriate graphic for crashed out-of-process iframe. (Closed)

Created:
4 years, 9 months ago by lfg
Modified:
4 years, 9 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, site-isolation-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Display appropriate graphic for crashed out-of-process iframe. BUG=561006 Committed: https://crrev.com/cccffbea4b4f1d847e465f46db83eaeb9bc464c5 Cr-Commit-Position: refs/heads/master@{#380266}

Patch Set 1 #

Total comments: 7

Patch Set 2 : addressing comments #

Patch Set 3 : make sure web_layer_ exists #

Patch Set 4 : switching to skcolor_black #

Patch Set 5 : sad_bitmap is not available in content_shell, only paint a black frame in that case #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -1 line) Patch
M content/renderer/child_frame_compositing_helper.cc View 1 2 3 4 4 chunks +29 lines, -1 line 0 comments Download

Messages

Total messages: 25 (9 generated)
lfg
PTAL.
4 years, 9 months ago (2016-03-09 16:58:11 UTC) #2
Fady Samuel
Drive by cleanup request: You can now delete BrowserPlugin::paint, I think! Yay! I've been wanting ...
4 years, 9 months ago (2016-03-09 17:01:03 UTC) #4
lfg
On 2016/03/09 17:01:03, Fady Samuel wrote: > Drive by cleanup request: > > You can ...
4 years, 9 months ago (2016-03-09 17:40:06 UTC) #5
kenrb
lgtm with some minor comments. https://codereview.chromium.org/1775303003/diff/1/content/renderer/child_frame_compositing_helper.cc File content/renderer/child_frame_compositing_helper.cc (right): https://codereview.chromium.org/1775303003/diff/1/content/renderer/child_frame_compositing_helper.cc#newcode135 content/renderer/child_frame_compositing_helper.cc:135: (buffer_size_.height() - sad_bitmap->height()) / ...
4 years, 9 months ago (2016-03-09 17:58:37 UTC) #7
Łukasz Anforowicz
Drive-by comment / question :-) https://codereview.chromium.org/1775303003/diff/1/content/renderer/child_frame_compositing_helper.cc File content/renderer/child_frame_compositing_helper.cc (right): https://codereview.chromium.org/1775303003/diff/1/content/renderer/child_frame_compositing_helper.cc#newcode138 content/renderer/child_frame_compositing_helper.cc:138: crashed_layer->AddChild(sad_layer); On 2016/03/09 17:58:37, ...
4 years, 9 months ago (2016-03-09 18:12:19 UTC) #9
lfg
On 2016/03/09 18:12:19, Łukasz Anforowicz wrote: > Can the iframe rect change its dimensions during ...
4 years, 9 months ago (2016-03-09 18:33:05 UTC) #10
lfg
Ken, please take another look. https://codereview.chromium.org/1775303003/diff/1/content/renderer/child_frame_compositing_helper.cc File content/renderer/child_frame_compositing_helper.cc (right): https://codereview.chromium.org/1775303003/diff/1/content/renderer/child_frame_compositing_helper.cc#newcode135 content/renderer/child_frame_compositing_helper.cc:135: (buffer_size_.height() - sad_bitmap->height()) / ...
4 years, 9 months ago (2016-03-09 20:17:45 UTC) #11
kenrb
Great. lgtm
4 years, 9 months ago (2016-03-09 20:22:32 UTC) #12
kenrb
Great. lgtm
4 years, 9 months ago (2016-03-09 20:22:33 UTC) #13
lfg
Hey piman, please take a look.
4 years, 9 months ago (2016-03-09 20:27:09 UTC) #15
dcheng
Drive by. https://codereview.chromium.org/1775303003/diff/1/content/renderer/child_frame_compositing_helper.cc File content/renderer/child_frame_compositing_helper.cc (right): https://codereview.chromium.org/1775303003/diff/1/content/renderer/child_frame_compositing_helper.cc#newcode124 content/renderer/child_frame_compositing_helper.cc:124: crashed_layer->SetBackgroundColor(SkColorSetARGBInline(255, 0, 0, 0)); Consider just using ...
4 years, 9 months ago (2016-03-09 21:06:24 UTC) #16
piman
lgtm
4 years, 9 months ago (2016-03-09 21:16:25 UTC) #17
lfg
https://codereview.chromium.org/1775303003/diff/1/content/renderer/child_frame_compositing_helper.cc File content/renderer/child_frame_compositing_helper.cc (right): https://codereview.chromium.org/1775303003/diff/1/content/renderer/child_frame_compositing_helper.cc#newcode124 content/renderer/child_frame_compositing_helper.cc:124: crashed_layer->SetBackgroundColor(SkColorSetARGBInline(255, 0, 0, 0)); On 2016/03/09 21:06:24, dcheng wrote: ...
4 years, 9 months ago (2016-03-09 21:19:15 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1775303003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1775303003/80001
4 years, 9 months ago (2016-03-09 23:23:47 UTC) #21
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 9 months ago (2016-03-10 00:05:56 UTC) #23
commit-bot: I haz the power
4 years, 9 months ago (2016-03-10 00:07:44 UTC) #25
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/cccffbea4b4f1d847e465f46db83eaeb9bc464c5
Cr-Commit-Position: refs/heads/master@{#380266}

Powered by Google App Engine
This is Rietveld 408576698