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

Issue 2812593003: Remove caching of contents paint properties (Closed)

Created:
3 years, 8 months ago by pdr.
Modified:
3 years, 8 months ago
Reviewers:
chrishtr, Xianzhu
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, szager+layoutwatch_chromium.org, zoltan1
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove caching of contents paint properties This patch stops caching contents paint properties which are rare and take up a pointer on RarePaintData[1]. With this patch the contents properties are recomputed from the local border box properties as-needed. [1] https://docs.google.com/spreadsheets/d/1IC1JI0sX7QsR9FmA4G1-F9E_c3xRKDNoV3SkDKQ822U/edit#gid=0 BUG=700452 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2812593003 Cr-Commit-Position: refs/heads/master@{#463435} Committed: https://chromium.googlesource.com/chromium/src/+/4389ecfd97b746892b3ec0d85137e9f62b69ba3a

Patch Set 1 #

Total comments: 4

Patch Set 2 : Address reviewer comments #

Total comments: 4

Patch Set 3 : Address reviewer comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -76 lines) Patch
M third_party/WebKit/Source/core/layout/LayoutObject.h View 1 chunk +2 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutObject.cpp View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/VisualRectMappingTest.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/paint/FindPropertiesNeedingUpdate.h View 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintInvalidator.cpp View 4 chunks +6 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp View 6 chunks +6 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/paint/RarePaintData.h View 2 chunks +6 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/core/paint/RarePaintData.cpp View 1 2 3 chunks +10 lines, -45 lines 0 comments Download

Messages

Total messages: 20 (11 generated)
pdr.
3 years, 8 months ago (2017-04-10 18:28:14 UTC) #4
chrishtr
https://codereview.chromium.org/2812593003/diff/1/third_party/WebKit/Source/core/layout/LayoutObject.cpp File third_party/WebKit/Source/core/layout/LayoutObject.cpp (right): https://codereview.chromium.org/2812593003/diff/1/third_party/WebKit/Source/core/layout/LayoutObject.cpp#newcode3587 third_party/WebKit/Source/core/layout/LayoutObject.cpp:3587: return PropertyTreeState::Root(); Why would 3585 ever fail if the ...
3 years, 8 months ago (2017-04-10 19:44:50 UTC) #7
pdr.
https://codereview.chromium.org/2812593003/diff/1/third_party/WebKit/Source/core/layout/LayoutObject.cpp File third_party/WebKit/Source/core/layout/LayoutObject.cpp (right): https://codereview.chromium.org/2812593003/diff/1/third_party/WebKit/Source/core/layout/LayoutObject.cpp#newcode3587 third_party/WebKit/Source/core/layout/LayoutObject.cpp:3587: return PropertyTreeState::Root(); On 2017/04/10 at 19:44:50, chrishtr wrote: > ...
3 years, 8 months ago (2017-04-10 20:05:34 UTC) #11
pdr.
PTAL
3 years, 8 months ago (2017-04-10 20:05:43 UTC) #12
chrishtr
https://codereview.chromium.org/2812593003/diff/20001/third_party/WebKit/Source/core/layout/LayoutObject.cpp File third_party/WebKit/Source/core/layout/LayoutObject.cpp (right): https://codereview.chromium.org/2812593003/diff/20001/third_party/WebKit/Source/core/layout/LayoutObject.cpp#newcode3587 third_party/WebKit/Source/core/layout/LayoutObject.cpp:3587: if (!rare_paint_data_) Remove this. https://codereview.chromium.org/2812593003/diff/20001/third_party/WebKit/Source/core/paint/RarePaintData.cpp File third_party/WebKit/Source/core/paint/RarePaintData.cpp (right): https://codereview.chromium.org/2812593003/diff/20001/third_party/WebKit/Source/core/paint/RarePaintData.cpp#newcode34 ...
3 years, 8 months ago (2017-04-10 20:50:30 UTC) #13
pdr.
https://codereview.chromium.org/2812593003/diff/20001/third_party/WebKit/Source/core/layout/LayoutObject.cpp File third_party/WebKit/Source/core/layout/LayoutObject.cpp (right): https://codereview.chromium.org/2812593003/diff/20001/third_party/WebKit/Source/core/layout/LayoutObject.cpp#newcode3587 third_party/WebKit/Source/core/layout/LayoutObject.cpp:3587: if (!rare_paint_data_) On 2017/04/10 at 20:50:30, chrishtr wrote: > ...
3 years, 8 months ago (2017-04-10 20:56:34 UTC) #14
chrishtr
lgtm
3 years, 8 months ago (2017-04-10 21:32:56 UTC) #16
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/2812593003/40001
3 years, 8 months ago (2017-04-10 21:33:39 UTC) #17
commit-bot: I haz the power
3 years, 8 months ago (2017-04-10 23:07:54 UTC) #20
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/4389ecfd97b746892b3ec0d85137...

Powered by Google App Engine
This is Rietveld 408576698