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

Issue 2370553002: Refactor LocalBorderBoxProperties to use PropertyTreeState (Closed)

Created:
4 years, 2 months ago by pdr.
Modified:
4 years, 2 months ago
Reviewers:
chrishtr, szager1, trchen
CC:
blink-reviews, blink-reviews-paint_chromium.org, chromium-reviews, dshwang, slimming-paint-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Refactor LocalBorderBoxProperties to use PropertyTreeState LocalBorderBoxProperties does not need to store refptrs as it only references existing properties (inherited or owned). This patch makes that explicit which also aligns the implementation with how FrameView's totalPropertyTreeStateForContents works. BUG=645615 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2

Patch Set 1 #

Patch Set 2 : Rebase from space #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -73 lines) Patch
M third_party/WebKit/Source/core/paint/ObjectPaintProperties.h View 2 chunks +16 lines, -16 lines 2 comments Download
M third_party/WebKit/Source/core/paint/ObjectPaintProperties.cpp View 1 chunk +13 lines, -6 lines 3 comments Download
M third_party/WebKit/Source/core/paint/PaintInvalidator.cpp View 2 chunks +2 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp View 1 chunk +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp View 1 1 chunk +2 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp View 1 11 chunks +36 lines, -38 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 7 (3 generated)
pdr.
4 years, 2 months ago (2016-09-23 22:41:58 UTC) #4
szager1
https://codereview.chromium.org/2370553002/diff/20001/third_party/WebKit/Source/core/paint/ObjectPaintProperties.cpp File third_party/WebKit/Source/core/paint/ObjectPaintProperties.cpp (right): https://codereview.chromium.org/2370553002/diff/20001/third_party/WebKit/Source/core/paint/ObjectPaintProperties.cpp#newcode23 third_party/WebKit/Source/core/paint/ObjectPaintProperties.cpp:23: else if (cssClip()) Is it possible to have both ...
4 years, 2 months ago (2016-09-24 01:30:18 UTC) #5
chrishtr
I don't see the part of this patch that changes something to do with RefPtrs, ...
4 years, 2 months ago (2016-09-26 17:09:51 UTC) #6
pdr.
4 years, 2 months ago (2016-09-29 18:11:17 UTC) #7
Thanks for the reviews. I think a slightly different approach will be better
here. I talked with Chris about it on Monday and finally created a new patch:
https://codereview.chromium.org/2378883003

Powered by Google App Engine
This is Rietveld 408576698