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

Issue 2627793002: Remove unused code in InvalidatableInterpolation (Closed)

Created:
3 years, 11 months ago by suzyh_UTC10 (ex-contributor)
Modified:
3 years, 11 months ago
CC:
darktears, blink-reviews, blink-reviews-animation_chromium.org, blink-reviews-style_chromium.org, chromium-reviews, Eric Willigers, rjwright, shans
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove unused code in InvalidatableInterpolation This patch removes two functions in InvalidatableInterpolation that are unreached: apply and getCachedValueForTesting. Since InvalidatableInterpolation has cached values, I had originally intended to supply a meaningful implementation for getCachedValueForTesting. However, after further consultation, I'm instead removing the virtual function from the Interpolation superclass and modifying the tests that use it to make it explicit that they will be executing LegacyStyleInterpolation::getCachedValueForTesting. BUG=678875 Review-Url: https://codereview.chromium.org/2627793002 Cr-Commit-Position: refs/heads/master@{#443055} Committed: https://chromium.googlesource.com/chromium/src/+/ff407634505cc3c6203ed2f746000b6d6eea79b6

Patch Set 1 #

Total comments: 1

Patch Set 2 : Simplify test in response to review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -24 lines) Patch
M third_party/WebKit/Source/core/animation/InterpolableValueTest.cpp View 5 chunks +8 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/animation/Interpolation.h View 1 chunk +0 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/animation/InterpolationEffectTest.cpp View 1 2 chunks +6 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/animation/InvalidatableInterpolation.h View 2 chunks +0 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/animation/LegacyStyleInterpolation.h View 1 chunk +4 lines, -1 line 0 comments Download

Depends on Patchset:

Messages

Total messages: 14 (7 generated)
suzyh_UTC10 (ex-contributor)
3 years, 11 months ago (2017-01-11 04:05:25 UTC) #2
alancutter (OOO until 2018)
lgtm after comment. https://codereview.chromium.org/2627793002/diff/1/third_party/WebKit/Source/core/animation/InterpolationEffectTest.cpp File third_party/WebKit/Source/core/animation/InterpolationEffectTest.cpp (right): https://codereview.chromium.org/2627793002/diff/1/third_party/WebKit/Source/core/animation/InterpolationEffectTest.cpp#newcode48 third_party/WebKit/Source/core/animation/InterpolationEffectTest.cpp:48: return 0.0; Remove this branch, don't ...
3 years, 11 months ago (2017-01-11 04:27:33 UTC) #3
suzyh_UTC10 (ex-contributor)
On 2017/01/11 at 04:27:33, alancutter wrote: > lgtm after comment. > > https://codereview.chromium.org/2627793002/diff/1/third_party/WebKit/Source/core/animation/InterpolationEffectTest.cpp > File ...
3 years, 11 months ago (2017-01-11 04:31:03 UTC) #4
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/2627793002/20001
3 years, 11 months ago (2017-01-11 04:52:34 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/97759)
3 years, 11 months ago (2017-01-11 06:23:49 UTC) #9
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/2627793002/20001
3 years, 11 months ago (2017-01-11 23:31:20 UTC) #11
commit-bot: I haz the power
3 years, 11 months ago (2017-01-11 23:41:29 UTC) #14
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/ff407634505cc3c6203ed2f74600...

Powered by Google App Engine
This is Rietveld 408576698