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

Issue 2707073002: Move PreviousBoxGeometries from BoxPaintInvalidator into LayoutBox::m_rareData (Closed)

Created:
3 years, 10 months ago by Xianzhu
Modified:
3 years, 10 months ago
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/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move PreviousBoxGeometries from BoxPaintInvalidator into LayoutBox::m_rareData After https://codereview.chromium.org/2689213013/ and https://codereview.chromium.org/2701103003/, now only 0.36% of LayoutBoxes need PreviousBoxGeometries. Move it into LayoutBox::m_rareData to simplify code and avoid map accesses. BUG=685179 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2707073002 Cr-Commit-Position: refs/heads/master@{#452337} Committed: https://chromium.googlesource.com/chromium/src/+/53e0e51e294b7b10dfaa31a5f1c99b527ab1f1c5

Patch Set 1 #

Total comments: 2

Patch Set 2 : uninline savePreviousOtherBoxGeometries() #

Total comments: 3

Patch Set 3 : - #

Total comments: 2

Patch Set 4 : - #

Unified diffs Side-by-side diffs Delta from patch set Stats (+63 lines, -76 lines) Patch
M third_party/WebKit/Source/core/layout/LayoutBox.h View 1 2 3 5 chunks +34 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBox.cpp View 1 2 3 2 chunks +8 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutObject.h View 1 2 3 5 chunks +1 line, -9 lines 0 comments Download
M third_party/WebKit/Source/core/paint/BoxPaintInvalidator.h View 1 2 3 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/paint/BoxPaintInvalidator.cpp View 1 2 3 5 chunks +19 lines, -57 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 25 (14 generated)
Xianzhu
This is the second followup of https://codereview.chromium.org/2689213013/.
3 years, 10 months ago (2017-02-21 17:34:25 UTC) #4
mstensho (USE GERRIT)
https://codereview.chromium.org/2707073002/diff/1/third_party/WebKit/Source/core/layout/LayoutBox.h File third_party/WebKit/Source/core/layout/LayoutBox.h (right): https://codereview.chromium.org/2707073002/diff/1/third_party/WebKit/Source/core/layout/LayoutBox.h#newcode1322 third_party/WebKit/Source/core/layout/LayoutBox.h:1322: void savePreviousOtherBoxGeometries() { Pretty unusual to inline the rareData ...
3 years, 10 months ago (2017-02-21 17:51:51 UTC) #8
Xianzhu
https://codereview.chromium.org/2707073002/diff/1/third_party/WebKit/Source/core/layout/LayoutBox.h File third_party/WebKit/Source/core/layout/LayoutBox.h (right): https://codereview.chromium.org/2707073002/diff/1/third_party/WebKit/Source/core/layout/LayoutBox.h#newcode1322 third_party/WebKit/Source/core/layout/LayoutBox.h:1322: void savePreviousOtherBoxGeometries() { On 2017/02/21 17:51:51, mstensho wrote: > ...
3 years, 10 months ago (2017-02-21 18:14:48 UTC) #9
mstensho (USE GERRIT)
https://codereview.chromium.org/2707073002/diff/20001/third_party/WebKit/Source/core/layout/LayoutBox.h File third_party/WebKit/Source/core/layout/LayoutBox.h (right): https://codereview.chromium.org/2707073002/diff/20001/third_party/WebKit/Source/core/layout/LayoutBox.h#newcode1566 third_party/WebKit/Source/core/layout/LayoutBox.h:1566: void savePreviousOtherBoxGeometries(); Wouldn't it be better to keep this ...
3 years, 10 months ago (2017-02-21 20:16:52 UTC) #10
Xianzhu
https://codereview.chromium.org/2707073002/diff/20001/third_party/WebKit/Source/core/layout/LayoutBox.h File third_party/WebKit/Source/core/layout/LayoutBox.h (right): https://codereview.chromium.org/2707073002/diff/20001/third_party/WebKit/Source/core/layout/LayoutBox.h#newcode1566 third_party/WebKit/Source/core/layout/LayoutBox.h:1566: void savePreviousOtherBoxGeometries(); On 2017/02/21 20:16:51, mstensho wrote: > Wouldn't ...
3 years, 10 months ago (2017-02-21 20:31:36 UTC) #11
mstensho (USE GERRIT)
core/layout/ lgtm. I guess you want pdr to look at the changes in core/paint/ https://codereview.chromium.org/2707073002/diff/20001/third_party/WebKit/Source/core/layout/LayoutBox.h ...
3 years, 10 months ago (2017-02-21 21:13:09 UTC) #12
pdr.
I like this, just some nits about names. https://codereview.chromium.org/2707073002/diff/40001/third_party/WebKit/Source/core/layout/LayoutBox.h File third_party/WebKit/Source/core/layout/LayoutBox.h (right): https://codereview.chromium.org/2707073002/diff/40001/third_party/WebKit/Source/core/layout/LayoutBox.h#newcode82 third_party/WebKit/Source/core/layout/LayoutBox.h:82: bool ...
3 years, 10 months ago (2017-02-22 18:37:54 UTC) #13
Xianzhu
https://codereview.chromium.org/2707073002/diff/40001/third_party/WebKit/Source/core/layout/LayoutBox.h File third_party/WebKit/Source/core/layout/LayoutBox.h (right): https://codereview.chromium.org/2707073002/diff/40001/third_party/WebKit/Source/core/layout/LayoutBox.h#newcode82 third_party/WebKit/Source/core/layout/LayoutBox.h:82: bool m_hasPreviousOtherBoxGeometries : 1; On 2017/02/22 18:37:54, pdr. wrote: ...
3 years, 10 months ago (2017-02-22 18:58:52 UTC) #14
pdr.
On 2017/02/22 at 18:58:52, wangxianzhu wrote: > https://codereview.chromium.org/2707073002/diff/40001/third_party/WebKit/Source/core/layout/LayoutBox.h > File third_party/WebKit/Source/core/layout/LayoutBox.h (right): > > https://codereview.chromium.org/2707073002/diff/40001/third_party/WebKit/Source/core/layout/LayoutBox.h#newcode82 ...
3 years, 10 months ago (2017-02-22 20:57:18 UTC) #15
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/2707073002/60001
3 years, 10 months ago (2017-02-23 00:04:08 UTC) #22
commit-bot: I haz the power
3 years, 10 months ago (2017-02-23 01:47:27 UTC) #25
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/53e0e51e294b7b10dfaa31a5f1c9...

Powered by Google App Engine
This is Rietveld 408576698