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

Issue 2767783003: Incorporate ComputedStyle::hasTransform when diffing transform styles. (Closed)

Created:
3 years, 9 months ago by wkorman
Modified:
3 years, 9 months ago
CC:
blink-reviews, blink-reviews-paint_chromium.org, blink-reviews-style_chromium.org, chromium-reviews, dshwang
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Incorporate ComputedStyle::hasTransform when diffing transform styles. BUG=695125 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2767783003 Cr-Commit-Position: refs/heads/master@{#458907} Committed: https://chromium.googlesource.com/chromium/src/+/463b2dfe64df899fda4359f2d360ee1cba46e26b

Patch Set 1 #

Total comments: 4

Patch Set 2 : Add tests and comment. #

Patch Set 3 : Sync to head. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -2 lines) Patch
M third_party/WebKit/Source/core/paint/PaintLayer.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayer.cpp View 1 2 1 chunk +6 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerTest.cpp View 1 2 1 chunk +17 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/style/ComputedStyle.h View 1 2 chunks +9 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/style/ComputedStyle.cpp View 1 1 chunk +5 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/style/ComputedStyleTest.cpp View 1 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (14 generated)
wkorman
Initial proposed change. For chrishtr@ -- I think we should leave ComputedStyle::transformDataEquivalent alone, since it ...
3 years, 9 months ago (2017-03-21 23:56:40 UTC) #7
chrishtr
On 2017/03/21 at 23:56:40, wkorman wrote: > Initial proposed change. > > For chrishtr@ -- ...
3 years, 9 months ago (2017-03-22 00:04:01 UTC) #8
chrishtr
https://codereview.chromium.org/2767783003/diff/1/third_party/WebKit/Source/core/style/ComputedStyle.cpp File third_party/WebKit/Source/core/style/ComputedStyle.cpp (right): https://codereview.chromium.org/2767783003/diff/1/third_party/WebKit/Source/core/style/ComputedStyle.cpp#newcode1030 third_party/WebKit/Source/core/style/ComputedStyle.cpp:1030: if (hasTransform() != other.hasTransform() || Add a comment here ...
3 years, 9 months ago (2017-03-22 00:05:42 UTC) #9
alancutter (OOO until 2018)
On 2017/03/22 at 00:04:01, chrishtr wrote: > How about a unittest that mutates the animation ...
3 years, 9 months ago (2017-03-22 00:31:08 UTC) #10
wkorman
PTAL, added unit tests. Note the PaintLayer test just calls updateTransform directly which IMO is ...
3 years, 9 months ago (2017-03-22 01:28:02 UTC) #11
chrishtr
lgtm
3 years, 9 months ago (2017-03-22 02:06:33 UTC) #14
alancutter (OOO until 2018)
I'm reluctant to give this a pass without a more end-to-end test but from my ...
3 years, 9 months ago (2017-03-22 02:36:29 UTC) #15
wkorman
On 2017/03/22 02:36:29, alancutter wrote: > I'm reluctant to give this a pass without a ...
3 years, 9 months ago (2017-03-22 20:31:17 UTC) #18
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/2767783003/40001
3 years, 9 months ago (2017-03-22 20:40:05 UTC) #21
commit-bot: I haz the power
3 years, 9 months ago (2017-03-22 22:46:24 UTC) #24
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/463b2dfe64df899fda4359f2d360...

Powered by Google App Engine
This is Rietveld 408576698