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

Issue 2131233003: cc: Clean up PictureLayer API. (Closed)

Created:
4 years, 5 months ago by Menglin
Modified:
4 years, 5 months ago
Reviewers:
enne (OOO), Khushal
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: Clean up PictureLayer API. To create a distinction between the PictureLayer data that is received the embedder and values that are internally cached or set. Move the embedder and interfaces into a separate struct. BUG=625284 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/42f5222403b9106ef7893beb08c5758af663200a Cr-Commit-Position: refs/heads/master@{#404705}

Patch Set 1 #

Total comments: 4

Patch Set 2 : move client to internal struct and nit #

Total comments: 2

Patch Set 3 : remove constructor/destructor of the internal struct #

Total comments: 2

Patch Set 4 : initialize client as nullptr #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -21 lines) Patch
M cc/layers/picture_layer.h View 1 2 3 3 chunks +9 lines, -3 lines 0 comments Download
M cc/layers/picture_layer.cc View 1 2 8 chunks +16 lines, -16 lines 0 comments Download
M cc/layers/picture_layer_unittest.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 21 (7 generated)
Menglin
Hi Khushal, ptal. thanks! Menglin
4 years, 5 months ago (2016-07-09 00:36:43 UTC) #3
Khushal
On 2016/07/09 00:36:43, Menglin wrote: > Hi Khushal, ptal. thanks! > > Menglin Looks fine ...
4 years, 5 months ago (2016-07-09 00:48:47 UTC) #4
Khushal
https://codereview.chromium.org/2131233003/diff/1/cc/layers/picture_layer.h File cc/layers/picture_layer.h (right): https://codereview.chromium.org/2131233003/diff/1/cc/layers/picture_layer.h#newcode66 cc/layers/picture_layer.h:66: ContentLayerClient* client_; Could you move this in the struct ...
4 years, 5 months ago (2016-07-09 00:49:19 UTC) #6
Menglin
https://codereview.chromium.org/2131233003/diff/1/cc/layers/picture_layer.h File cc/layers/picture_layer.h (right): https://codereview.chromium.org/2131233003/diff/1/cc/layers/picture_layer.h#newcode66 cc/layers/picture_layer.h:66: ContentLayerClient* client_; Sure. Is it because PictureLayer::Create(client) can be ...
4 years, 5 months ago (2016-07-09 17:17:42 UTC) #7
Khushal
https://codereview.chromium.org/2131233003/diff/1/cc/layers/picture_layer.h File cc/layers/picture_layer.h (right): https://codereview.chromium.org/2131233003/diff/1/cc/layers/picture_layer.h#newcode66 cc/layers/picture_layer.h:66: ContentLayerClient* client_; On 2016/07/09 17:17:42, Menglin wrote: > Sure. ...
4 years, 5 months ago (2016-07-11 16:43:58 UTC) #8
Menglin
new patch uploaded. ptal. thanks! Menglin
4 years, 5 months ago (2016-07-11 17:10:26 UTC) #9
enne (OOO)
https://codereview.chromium.org/2131233003/diff/20001/cc/layers/picture_layer.h File cc/layers/picture_layer.h (right): https://codereview.chromium.org/2131233003/diff/20001/cc/layers/picture_layer.h#newcode80 cc/layers/picture_layer.h:80: ContentLayerClient* client; Can you initialize both of these with ...
4 years, 5 months ago (2016-07-11 18:00:00 UTC) #11
Menglin
new patch upload. ptal. thanks! https://codereview.chromium.org/2131233003/diff/20001/cc/layers/picture_layer.h File cc/layers/picture_layer.h (right): https://codereview.chromium.org/2131233003/diff/20001/cc/layers/picture_layer.h#newcode80 cc/layers/picture_layer.h:80: ContentLayerClient* client; On 2016/07/11 ...
4 years, 5 months ago (2016-07-11 18:12:15 UTC) #12
enne (OOO)
lgtm https://codereview.chromium.org/2131233003/diff/40001/cc/layers/picture_layer.h File cc/layers/picture_layer.h (right): https://codereview.chromium.org/2131233003/diff/40001/cc/layers/picture_layer.h#newcode77 cc/layers/picture_layer.h:77: ContentLayerClient* client; Can you initialize this too to ...
4 years, 5 months ago (2016-07-11 18:17:30 UTC) #13
Menglin
https://codereview.chromium.org/2131233003/diff/40001/cc/layers/picture_layer.h File cc/layers/picture_layer.h (right): https://codereview.chromium.org/2131233003/diff/40001/cc/layers/picture_layer.h#newcode77 cc/layers/picture_layer.h:77: ContentLayerClient* client; On 2016/07/11 18:17:30, enne wrote: > Can ...
4 years, 5 months ago (2016-07-11 18:26:05 UTC) #14
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/2131233003/60001
4 years, 5 months ago (2016-07-11 18:26:51 UTC) #17
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 5 months ago (2016-07-11 19:15:39 UTC) #18
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-11 19:15:41 UTC) #19
commit-bot: I haz the power
4 years, 5 months ago (2016-07-11 19:19:49 UTC) #21
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/42f5222403b9106ef7893beb08c5758af663200a
Cr-Commit-Position: refs/heads/master@{#404705}

Powered by Google App Engine
This is Rietveld 408576698