WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
23188
Need to cleanup all the names of state functions in AnimationBase
https://bugs.webkit.org/show_bug.cgi?id=23188
Summary
Need to cleanup all the names of state functions in AnimationBase
Chris Marrin
Reported
2009-01-08 10:09:18 PST
There are many functions in AnimationBase (like isNew() and postactive()) which tell you which state or states the state machine is in. But they are really confusing, both in how they are named and what they actually mean. These should all be cleaned up
Attachments
Patch to clean up Animation
(21.32 KB, patch)
2009-02-12 12:21 PST
,
Simon Fraser (smfr)
no flags
Details
Formatted Diff
Diff
Same patch with no license changes.
(8.43 KB, patch)
2009-02-12 12:35 PST
,
Simon Fraser (smfr)
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Simon Fraser (smfr)
Comment 1
2009-01-08 10:20:04 PST
Also willNeedService() needs a better name.
Simon Fraser (smfr)
Comment 2
2009-02-03 17:50:42 PST
Also: In Animation: bool direction() const { return m_direction; } This needs to have an enum. int iterationCount() const { return m_iterationCount; } This needs a constant for the magic "-1" value.
Simon Fraser (smfr)
Comment 3
2009-02-03 17:50:47 PST
***
Bug 23513
has been marked as a duplicate of this bug. ***
Simon Fraser (smfr)
Comment 4
2009-02-12 12:21:13 PST
Created
attachment 27617
[details]
Patch to clean up Animation
Simon Fraser (smfr)
Comment 5
2009-02-12 12:35:12 PST
Created
attachment 27620
[details]
Same patch with no license changes.
Dave Hyatt
Comment 6
2009-02-12 12:35:45 PST
Comment on
attachment 27620
[details]
Same patch with no license changes. r=me
Simon Fraser (smfr)
Comment 7
2009-02-12 12:47:43 PST
Comment on
attachment 27620
[details]
Same patch with no license changes. Landed: Committing to
http://svn.webkit.org/repository/webkit/trunk
... M WebCore/ChangeLog M WebCore/css/CSSComputedStyleDeclaration.cpp M WebCore/platform/animation/Animation.cpp M WebCore/platform/animation/Animation.h M WebCore/platform/graphics/mac/GraphicsLayerCA.mm Committed
r40923
Brent Fulgham
Comment 8
2009-02-13 11:41:53 PST
Closing bug as it has been committed to the archive.
Simon Fraser (smfr)
Comment 9
2009-02-13 11:49:12 PST
There's more cleanup to do (specifically, willGetService()).
Eric Seidel (no email)
Comment 10
2009-04-29 14:56:25 PDT
Comment on
attachment 27620
[details]
Same patch with no license changes. Historically we've tried for one-bug-per-change. But if you'd like to leave this open, we should at least clear the review flag to remove it from the commit queue. (Eventually we should just fix the commit queue query).
Alexis Menard (darktears)
Comment 11
2012-12-12 06:11:58 PST
I think all the cleanup landed. I can't find any trace of the old confusing names.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug