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

Issue 2651533005: Make StyleResolverState argument a pointer in maybeConvertValue() (Closed)

Created:
3 years, 11 months ago by alancutter (OOO until 2018)
Modified:
3 years, 10 months ago
Reviewers:
Eric Willigers
CC:
darktears, blink-reviews, blink-reviews-animation_chromium.org, chromium-reviews, Eric Willigers, rjwright, shans
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make StyleResolverState argument a pointer in CSSInterpolationType::maybeConvertValue() There are very few scenarios where the StyleResolverState is required to convert a CSSValue for animations. This patch makes passing in the state optional in preparation for supporting animations on registered custom properties which do not need access to the StyleResolverState. BUG=681424 Review-Url: https://codereview.chromium.org/2651533005 Cr-Commit-Position: refs/heads/master@{#448203} Committed: https://chromium.googlesource.com/chromium/src/+/aca84dc37eb032e7ed985a19597a233b6f491fcc

Patch Set 1 #

Total comments: 2

Patch Set 2 : DCHECK #

Patch Set 3 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -70 lines) Patch
M third_party/WebKit/Source/core/animation/CSSBasicShapeInterpolationType.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/CSSBasicShapeInterpolationType.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/CSSBorderImageLengthBoxInterpolationType.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/CSSBorderImageLengthBoxInterpolationType.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/CSSClipInterpolationType.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/CSSClipInterpolationType.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/CSSColorInterpolationType.h View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/CSSColorInterpolationType.cpp View 1 1 chunk +5 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/animation/CSSFilterListInterpolationType.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/CSSFilterListInterpolationType.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/CSSFontSizeInterpolationType.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/CSSFontSizeInterpolationType.cpp View 2 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/animation/CSSFontWeightInterpolationType.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/CSSFontWeightInterpolationType.cpp View 1 2 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/animation/CSSImageInterpolationType.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/CSSImageInterpolationType.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/CSSImageListInterpolationType.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/CSSImageListInterpolationType.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/CSSImageSliceInterpolationType.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/CSSImageSliceInterpolationType.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/CSSInterpolationType.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/CSSInterpolationType.cpp View 1 2 5 chunks +5 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/animation/CSSLengthInterpolationType.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/CSSLengthInterpolationType.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/CSSLengthListInterpolationType.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/CSSLengthListInterpolationType.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/CSSLengthPairInterpolationType.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/CSSNumberInterpolationType.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/CSSNumberInterpolationType.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/CSSOffsetRotateInterpolationType.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/CSSOffsetRotateInterpolationType.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/CSSPaintInterpolationType.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/CSSPaintInterpolationType.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/CSSPathInterpolationType.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/CSSPathInterpolationType.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/CSSPositionAxisListInterpolationType.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/CSSPositionAxisListInterpolationType.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/CSSPositionInterpolationType.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/CSSRotateInterpolationType.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/CSSRotateInterpolationType.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/CSSScaleInterpolationType.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/CSSScaleInterpolationType.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/CSSShadowListInterpolationType.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/CSSShadowListInterpolationType.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/CSSSizeListInterpolationType.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/CSSSizeListInterpolationType.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/CSSTextIndentInterpolationType.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/CSSTextIndentInterpolationType.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/CSSTransformInterpolationType.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/CSSTransformInterpolationType.cpp View 1 2 chunks +5 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/animation/CSSTransformOriginInterpolationType.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/CSSTranslateInterpolationType.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/CSSTranslateInterpolationType.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/CSSValueInterpolationType.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/CSSValueInterpolationType.cpp View 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/animation/CSSVisibilityInterpolationType.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/CSSVisibilityInterpolationType.cpp View 1 chunk +1 line, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 18 (10 generated)
alancutter (OOO until 2018)
3 years, 11 months ago (2017-01-25 07:06:24 UTC) #4
Eric Willigers
lgtm https://codereview.chromium.org/2651533005/diff/1/third_party/WebKit/Source/core/animation/CSSFontWeightInterpolationType.cpp File third_party/WebKit/Source/core/animation/CSSFontWeightInterpolationType.cpp (right): https://codereview.chromium.org/2651533005/diff/1/third_party/WebKit/Source/core/animation/CSSFontWeightInterpolationType.cpp#newcode115 third_party/WebKit/Source/core/animation/CSSFontWeightInterpolationType.cpp:115: FontWeight inheritedFontWeight = state->parentStyle()->fontWeight(); DCHECK ?
3 years, 11 months ago (2017-01-25 21:54:06 UTC) #5
alancutter (OOO until 2018)
https://codereview.chromium.org/2651533005/diff/1/third_party/WebKit/Source/core/animation/CSSFontWeightInterpolationType.cpp File third_party/WebKit/Source/core/animation/CSSFontWeightInterpolationType.cpp (right): https://codereview.chromium.org/2651533005/diff/1/third_party/WebKit/Source/core/animation/CSSFontWeightInterpolationType.cpp#newcode115 third_party/WebKit/Source/core/animation/CSSFontWeightInterpolationType.cpp:115: FontWeight inheritedFontWeight = state->parentStyle()->fontWeight(); On 2017/01/25 at 21:54:06, Eric ...
3 years, 10 months ago (2017-01-30 23:03:20 UTC) #6
alancutter (OOO until 2018)
On 2017/01/30 at 23:03:20, alancutter wrote: > https://codereview.chromium.org/2651533005/diff/1/third_party/WebKit/Source/core/animation/CSSFontWeightInterpolationType.cpp > File third_party/WebKit/Source/core/animation/CSSFontWeightInterpolationType.cpp (right): > > https://codereview.chromium.org/2651533005/diff/1/third_party/WebKit/Source/core/animation/CSSFontWeightInterpolationType.cpp#newcode115 ...
3 years, 10 months ago (2017-01-30 23:04:10 UTC) #7
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/2651533005/20001
3 years, 10 months ago (2017-01-30 23:19:53 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/144732) ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 10 months ago (2017-01-30 23:23:33 UTC) #12
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/2651533005/40001
3 years, 10 months ago (2017-02-06 00:35:52 UTC) #15
commit-bot: I haz the power
3 years, 10 months ago (2017-02-06 02:17:44 UTC) #18
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/aca84dc37eb032e7ed985a19597a...

Powered by Google App Engine
This is Rietveld 408576698