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

Issue 2002153007: Refactor to simplify how layerType is stored on PaintLayers. (Closed)

Created:
4 years, 7 months ago by chrishtr
Modified:
4 years, 7 months ago
Reviewers:
pdr.
CC:
blink-reviews, blink-reviews-layout_chromium.org, blink-reviews-paint_chromium.org, chromium-reviews, dshwang, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, slimming-paint-reviews_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Refactor to simplify how layerType is stored on PaintLayers. Instead of caching it on the PaintLayer, delegate to the LayoutBoxModelObject to compute it on demand. Also remove a useless setter for it. BUG=610906 Committed: https://crrev.com/4a1368f4a8cbc725bd4be8e216fc9f717f7b9f8d Cr-Commit-Position: refs/heads/master@{#396096}

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -17 lines) Patch
M third_party/WebKit/Source/core/layout/LayoutBoxModelObject.h View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp View 1 3 chunks +3 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayer.h View 1 3 chunks +1 line, -5 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayer.cpp View 1 2 chunks +3 lines, -4 lines 0 comments Download

Messages

Total messages: 11 (4 generated)
chrishtr
4 years, 7 months ago (2016-05-25 23:23:43 UTC) #3
pdr.
Nice cleanup https://codereview.chromium.org/2002153007/diff/1/third_party/WebKit/Source/core/paint/PaintLayer.cpp File third_party/WebKit/Source/core/paint/PaintLayer.cpp (right): https://codereview.chromium.org/2002153007/diff/1/third_party/WebKit/Source/core/paint/PaintLayer.cpp#newcode138 third_party/WebKit/Source/core/paint/PaintLayer.cpp:138: PaintLayer::PaintLayer(LayoutBoxModelObject* layoutObject, PaintLayerType type) With this gone, ...
4 years, 7 months ago (2016-05-26 00:11:20 UTC) #4
chrishtr
https://codereview.chromium.org/2002153007/diff/1/third_party/WebKit/Source/core/paint/PaintLayer.cpp File third_party/WebKit/Source/core/paint/PaintLayer.cpp (right): https://codereview.chromium.org/2002153007/diff/1/third_party/WebKit/Source/core/paint/PaintLayer.cpp#newcode138 third_party/WebKit/Source/core/paint/PaintLayer.cpp:138: PaintLayer::PaintLayer(LayoutBoxModelObject* layoutObject, PaintLayerType type) On 2016/05/26 at 00:11:19, pdr. ...
4 years, 7 months ago (2016-05-26 00:37:05 UTC) #5
pdr.
On 2016/05/26 at 00:37:05, chrishtr wrote: > https://codereview.chromium.org/2002153007/diff/1/third_party/WebKit/Source/core/paint/PaintLayer.cpp > File third_party/WebKit/Source/core/paint/PaintLayer.cpp (right): > > https://codereview.chromium.org/2002153007/diff/1/third_party/WebKit/Source/core/paint/PaintLayer.cpp#newcode138 ...
4 years, 7 months ago (2016-05-26 00:37:35 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2002153007/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2002153007/20001
4 years, 7 months ago (2016-05-26 00:38:40 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 7 months ago (2016-05-26 03:21:13 UTC) #9
commit-bot: I haz the power
4 years, 7 months ago (2016-05-26 03:23:00 UTC) #11
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/4a1368f4a8cbc725bd4be8e216fc9f717f7b9f8d
Cr-Commit-Position: refs/heads/master@{#396096}

Powered by Google App Engine
This is Rietveld 408576698