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

Issue 27572003: Fix assert failure in AnimatableStrokeDasharrayList::equalTo() (Closed)

Created:
7 years, 2 months ago by alancutter (OOO until 2018)
Modified:
7 years, 2 months ago
Reviewers:
dstockwell, Steve Block
CC:
blink-reviews, shans, rjwright, alancutter (OOO until 2018), Mike Lawther (Google), dstockwell, Timothy Loh, darktears, Steve Block, dino_apple.com, Eric Willigers
Visibility:
Public.

Description

Fix assert failure in AnimatableStrokeDasharrayList::equalTo() Inherited methods were asserting AnimatableStrokeDasharrayList objects were the parent class AnimatableValue type. Changed type check to allow the subclass when up casting. Added unittest case to test fix. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=160064

Patch Set 1 #

Total comments: 3

Patch Set 2 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -16 lines) Patch
M Source/core/animation/AnimatableRepeatable.h View 1 chunk +2 lines, -1 line 0 comments Download
A + Source/core/animation/AnimatableStrokeDasharrayListTest.cpp View 1 2 chunks +18 lines, -15 lines 0 comments Download
M Source/core/core.gypi View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
alancutter (OOO until 2018)
https://codereview.chromium.org/27572003/diff/1/Source/core/animation/AnimatableStrokeDasharrayListTest.cpp File Source/core/animation/AnimatableStrokeDasharrayListTest.cpp (right): https://codereview.chromium.org/27572003/diff/1/Source/core/animation/AnimatableStrokeDasharrayListTest.cpp#newcode42 Source/core/animation/AnimatableStrokeDasharrayListTest.cpp:42: TEST(CoreAnimationAnimatableStrokeDasharrayListTest, EqualTo) Using the new naming scheme https://codereview.chromium.org/27664002/ introduces ...
7 years, 2 months ago (2013-10-18 00:11:46 UTC) #1
dstockwell
https://codereview.chromium.org/27572003/diff/1/Source/core/animation/AnimatableRepeatable.h File Source/core/animation/AnimatableRepeatable.h (right): https://codereview.chromium.org/27572003/diff/1/Source/core/animation/AnimatableRepeatable.h#newcode77 Source/core/animation/AnimatableRepeatable.h:77: // FIXME: Use a better typing system for AnimatableValues ...
7 years, 2 months ago (2013-10-20 23:46:26 UTC) #2
alancutter (OOO until 2018)
https://codereview.chromium.org/27572003/diff/1/Source/core/animation/AnimatableRepeatable.h File Source/core/animation/AnimatableRepeatable.h (right): https://codereview.chromium.org/27572003/diff/1/Source/core/animation/AnimatableRepeatable.h#newcode77 Source/core/animation/AnimatableRepeatable.h:77: // FIXME: Use a better typing system for AnimatableValues ...
7 years, 2 months ago (2013-10-20 23:53:12 UTC) #3
Steve Block
lgtm as a temporary fix, given that we have plans to overhaul the animatable value ...
7 years, 2 months ago (2013-10-21 02:38:22 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alancutter@chromium.org/27572003/1
7 years, 2 months ago (2013-10-21 05:14:06 UTC) #5
commit-bot: I haz the power
Failed to apply patch for Source/core/animation/AnimatableStrokeDasharrayListTest.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; A Source/core/animation/AnimatableStrokeDasharrayListTest.cpp ...
7 years, 2 months ago (2013-10-21 05:14:08 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alancutter@chromium.org/27572003/64001
7 years, 2 months ago (2013-10-21 05:46:40 UTC) #7
commit-bot: I haz the power
7 years, 2 months ago (2013-10-21 06:56:45 UTC) #8
Message was sent while issue was closed.
Change committed as 160064

Powered by Google App Engine
This is Rietveld 408576698