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

Issue 1640843003: Make PaintLayerClipper objects transient (Closed)

Created:
4 years, 11 months ago by Xianzhu
Modified:
4 years, 10 months ago
Reviewers:
chrishtr, pdr.
CC:
blink-reviews, blink-reviews-paint_chromium.org, chromium-reviews, dshwang, slimming-paint-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@PaintLayerRareData
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make PaintLayerClipper objects transient By storing the cache into PaintLayer, we can avoid PaintLayer::m_clipper and reduce 2 pointers to 1 pointers in PaintLayer for the clipper. BUG=581124 Committed: https://crrev.com/aa9d498423426227383460f5e102df4f33b7d2ba Cr-Commit-Position: refs/heads/master@{#372162}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Inline PaintLayerClipper ctor #

Unified diffs Side-by-side diffs Delta from patch set Stats (+90 lines, -109 lines) Patch
M third_party/WebKit/Source/core/paint/PaintLayer.h View 5 chunks +15 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayer.cpp View 8 chunks +7 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerClipper.h View 1 2 chunks +5 lines, -23 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp View 1 12 chunks +61 lines, -69 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp View 1 chunk +2 lines, -2 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 15 (7 generated)
Xianzhu
4 years, 11 months ago (2016-01-27 20:44:51 UTC) #3
chrishtr
https://codereview.chromium.org/1640843003/diff/1/third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp File third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp (right): https://codereview.chromium.org/1640843003/diff/1/third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp#newcode97 third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp:97: PaintLayerClipper::PaintLayerClipper(const PaintLayer& layer) Inline this just in case? https://codereview.chromium.org/1640843003/diff/1/third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp#newcode221 ...
4 years, 11 months ago (2016-01-27 21:00:34 UTC) #4
Xianzhu
https://codereview.chromium.org/1640843003/diff/1/third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp File third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp (right): https://codereview.chromium.org/1640843003/diff/1/third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp#newcode97 third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp:97: PaintLayerClipper::PaintLayerClipper(const PaintLayer& layer) On 2016/01/27 21:00:34, chrishtr wrote: > ...
4 years, 11 months ago (2016-01-27 21:54:27 UTC) #5
chrishtr
lgtm
4 years, 11 months ago (2016-01-27 21:56:12 UTC) #7
commit-bot: I haz the power
This CL has an open dependency (Issue 1636563003 Patch 120001). Please resolve the dependency and ...
4 years, 11 months ago (2016-01-27 21:57:39 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1640843003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1640843003/20001
4 years, 10 months ago (2016-01-28 19:46:08 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 10 months ago (2016-01-28 20:57:04 UTC) #13
commit-bot: I haz the power
4 years, 10 months ago (2016-01-28 20:58:00 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/aa9d498423426227383460f5e102df4f33b7d2ba
Cr-Commit-Position: refs/heads/master@{#372162}

Powered by Google App Engine
This is Rietveld 408576698