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

Issue 2314443002: Code health: Add type checks to CSSLengthInterpolationType::nonInterpolableValuesAreCompatible() (Closed)

Created:
4 years, 3 months ago by alancutter (OOO until 2018)
Modified:
4 years, 3 months ago
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

Code health: Add type checks to CSSLengthInterpolationType::nonInterpolableValuesAreCompatible() This change adds type checks to (marginally) improve readability of the CSS length interpolation code. The isNonInterpolableValue() helper functions are added along side the existing toNonInterpolableValue() helper functions also for readability. Committed: https://crrev.com/ae1576879137a0b96ad64f251f574c5b7efc4eba Cr-Commit-Position: refs/heads/master@{#416833}

Patch Set 1 #

Patch Set 2 : Moar checks #

Patch Set 3 : Simplify macro #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -7 lines) Patch
M third_party/WebKit/Source/core/animation/CSSLengthInterpolationType.cpp View 1 3 chunks +10 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/animation/NonInterpolableValue.h View 1 2 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 16 (8 generated)
alancutter (OOO until 2018)
4 years, 3 months ago (2016-09-05 06:55:34 UTC) #2
suzyh_UTC10 (ex-contributor)
I'm happy with this, but please get a second OK from timloh or dstockwell since ...
4 years, 3 months ago (2016-09-06 00:08:10 UTC) #3
alancutter (OOO until 2018)
+dstockwell for macros.
4 years, 3 months ago (2016-09-06 00:20:44 UTC) #5
alancutter (OOO until 2018)
On 2016/09/06 at 00:20:44, alancutter wrote: > +dstockwell for macros. dstockwell: Poke.
4 years, 3 months ago (2016-09-07 01:42:53 UTC) #10
dstockwell
lgtm
4 years, 3 months ago (2016-09-07 01:51:37 UTC) #11
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/2314443002/40001
4 years, 3 months ago (2016-09-07 01:58:54 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 3 months ago (2016-09-07 03:20:12 UTC) #14
commit-bot: I haz the power
4 years, 3 months ago (2016-09-07 03:22:35 UTC) #16
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/ae1576879137a0b96ad64f251f574c5b7efc4eba
Cr-Commit-Position: refs/heads/master@{#416833}

Powered by Google App Engine
This is Rietveld 408576698