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

Issue 939463003: Resolve FIXMEs in cc for Display Item Lists. (Closed)

Created:
5 years, 10 months ago by Stephen Chennney
Modified:
5 years, 1 month ago
Reviewers:
danakj, ajuma
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Resolve FIXMEs in cc for Display Item Lists. This is the final patch for removing location and making SkPicture const in drawing display items, and the first patch in adding scroll display item support in cc. R=ajuma@chromium.org BUG=458240 Committed: https://crrev.com/ba47b3ebc5d0b50ac44673774a66fe82f0dc8a21 Cr-Commit-Position: refs/heads/master@{#317060}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fixed location offset. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -50 lines) Patch
M cc/blink/web_display_item_list_impl.h View 1 2 chunks +3 lines, -2 lines 0 comments Download
M cc/blink/web_display_item_list_impl.cc View 1 2 chunks +13 lines, -8 lines 0 comments Download
M cc/layers/picture_image_layer.cc View 1 chunk +1 line, -2 lines 0 comments Download
M cc/resources/display_item_list_unittest.cc View 1 3 chunks +25 lines, -15 lines 0 comments Download
M cc/resources/drawing_display_item.h View 2 chunks +4 lines, -5 lines 0 comments Download
M cc/resources/drawing_display_item.cc View 1 5 chunks +8 lines, -9 lines 1 comment Download
M cc/test/fake_content_layer_client.cc View 3 chunks +7 lines, -9 lines 0 comments Download

Messages

Total messages: 11 (2 generated)
Stephen Chennney
The ongoing effort to fix the FIXMEs.
5 years, 10 months ago (2015-02-17 22:20:45 UTC) #1
ajuma
https://codereview.chromium.org/939463003/diff/1/cc/resources/drawing_display_item.cc File cc/resources/drawing_display_item.cc (right): https://codereview.chromium.org/939463003/diff/1/cc/resources/drawing_display_item.cc#newcode30 cc/resources/drawing_display_item.cc:30: canvas->translate(picture_->cullRect().x(), picture_->cullRect().y()); Since location_ is currently being set to ...
5 years, 10 months ago (2015-02-17 22:43:30 UTC) #2
Stephen Chennney
On 2015/02/17 22:43:30, ajuma wrote: > https://codereview.chromium.org/939463003/diff/1/cc/resources/drawing_display_item.cc > File cc/resources/drawing_display_item.cc (right): > > https://codereview.chromium.org/939463003/diff/1/cc/resources/drawing_display_item.cc#newcode30 > ...
5 years, 10 months ago (2015-02-18 18:30:54 UTC) #3
Stephen Chennney
I think this is good now. Passes layout tests and cc_unittests. https://codereview.chromium.org/939463003/diff/1/cc/resources/drawing_display_item.cc File cc/resources/drawing_display_item.cc (right): ...
5 years, 10 months ago (2015-02-19 15:36:52 UTC) #4
ajuma
lgtm
5 years, 10 months ago (2015-02-19 15:45:19 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/939463003/20001
5 years, 10 months ago (2015-02-19 15:59:07 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 10 months ago (2015-02-19 16:48:33 UTC) #8
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/ba47b3ebc5d0b50ac44673774a66fe82f0dc8a21 Cr-Commit-Position: refs/heads/master@{#317060}
5 years, 10 months ago (2015-02-19 16:49:24 UTC) #9
danakj
5 years, 1 month ago (2015-10-30 22:11:31 UTC) #11
Message was sent while issue was closed.
https://codereview.chromium.org/939463003/diff/20001/cc/resources/drawing_dis...
File cc/resources/drawing_display_item.cc (right):

https://codereview.chromium.org/939463003/diff/20001/cc/resources/drawing_dis...
cc/resources/drawing_display_item.cc:67: base::StringPrintf("[%f,%f,%f,%f]",
picture_->cullRect().x(),
This appears to break tracing, I get a js error about this "Rect" not having 4
values. 

That sounds weird. But if I change this to
BeginArray()/SetInteger()x4/EndArray() that error goes away. (tracing is still
busted though for other reasons D:)

Powered by Google App Engine
This is Rietveld 408576698