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

Issue 1326713002: cc: Workaround resourceless draw crash (Closed)

Created:
5 years, 3 months ago by boliu
Modified:
5 years, 3 months ago
Reviewers:
danakj, vmpstr, enne (OOO)
CC:
cc-bugs_chromium.org, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Workaround resourceless draw crash It's possible for resourceless draw to raster a layer with no recording, which crashes in DisplayListRasterSource::RasterCommon. Workaround this by not appending picture quad if there is no recording for that layer. Small patch for merging back to release. BUG=526402 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/d16632eaf7354c9f277e7a7ee4ef666ce186d562 Cr-Commit-Position: refs/heads/master@{#346760}

Patch Set 1 #

Total comments: 2

Patch Set 2 : add todo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -1 line) Patch
M cc/layers/picture_layer_impl.cc View 1 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 16 (4 generated)
boliu
small workaround for merging back, no tests.. /me off to lunch too :p
5 years, 3 months ago (2015-09-01 19:07:52 UTC) #2
danakj
+vmpstr this looks sketchy at first glance. but vmpstr will know all.
5 years, 3 months ago (2015-09-01 20:16:26 UTC) #4
enne (OOO)
lgtm
5 years, 3 months ago (2015-09-01 20:17:26 UTC) #5
vmpstr
https://codereview.chromium.org/1326713002/diff/1/cc/layers/picture_layer_impl.cc File cc/layers/picture_layer_impl.cc (right): https://codereview.chromium.org/1326713002/diff/1/cc/layers/picture_layer_impl.cc#newcode185 cc/layers/picture_layer_impl.cc:185: if (visible_geometry_rect.IsEmpty() || !raster_source_->HasRecordings()) Can you leave a comment ...
5 years, 3 months ago (2015-09-01 20:26:38 UTC) #6
enne (OOO)
There are other problems here, such as the source may have recordings, but not actually ...
5 years, 3 months ago (2015-09-01 20:30:26 UTC) #7
vmpstr
On 2015/09/01 20:30:26, enne wrote: > There are other problems here, such as the source ...
5 years, 3 months ago (2015-09-01 20:40:54 UTC) #8
danakj
https://codereview.chromium.org/1326713002/diff/1/cc/layers/picture_layer_impl.cc File cc/layers/picture_layer_impl.cc (right): https://codereview.chromium.org/1326713002/diff/1/cc/layers/picture_layer_impl.cc#newcode185 cc/layers/picture_layer_impl.cc:185: if (visible_geometry_rect.IsEmpty() || !raster_source_->HasRecordings()) On 2015/09/01 20:26:38, vmpstr wrote: ...
5 years, 3 months ago (2015-09-01 20:42:30 UTC) #9
boliu
Added TODO comment for enne
5 years, 3 months ago (2015-09-01 20:50:41 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1326713002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1326713002/20001
5 years, 3 months ago (2015-09-01 20:51:40 UTC) #13
danakj
Thanks LGTM 2
5 years, 3 months ago (2015-09-01 20:52:39 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 3 months ago (2015-09-01 22:37:06 UTC) #15
commit-bot: I haz the power
5 years, 3 months ago (2015-09-01 22:37:48 UTC) #16
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/d16632eaf7354c9f277e7a7ee4ef666ce186d562
Cr-Commit-Position: refs/heads/master@{#346760}

Powered by Google App Engine
This is Rietveld 408576698