WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
25109
Eliminate CompositeAnimationPrivate
https://bugs.webkit.org/show_bug.cgi?id=25109
Summary
Eliminate CompositeAnimationPrivate
Simon Fraser (smfr)
Reported
2009-04-08 22:28:30 PDT
CompositeAnimationPrivate, in the CSS animation code, really doesn't provide any useful layering, and should be removed.
Attachments
Patch, changelog
(24.72 KB, patch)
2009-04-08 22:52 PDT
,
Simon Fraser (smfr)
darin
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Simon Fraser (smfr)
Comment 1
2009-04-08 22:52:04 PDT
Created
attachment 29359
[details]
Patch, changelog
Darin Adler
Comment 2
2009-04-09 08:53:43 PDT
Comment on
attachment 29359
[details]
Patch, changelog
> + m_compAnim->animationControllerPriv()->removeFromStyleAvailableWaitList(this); > + m_compAnim->animationControllerPriv()->removeFromStartTimeResponseWaitList(this);
The function name animationControllerPriv() is both long and abbreviated. And I find it ugly. Can you give it a shorter name without abbreviations? Or I guess you could use our standard name for such things, impl(), which I also find ugly. Aside from this new function that needs a better name, r=me There are quite a few things here that aren't using standard WebKit style, using "get" for example for simple getters, whereas we use nouns for getters and "get" only for getters that use out arguments. And this design with the private object that you get to explicitly is also pretty awkward.
Simon Fraser (smfr)
Comment 3
2009-04-09 09:08:42 PDT
I'd like to do the rename of getAnimatedStyle() (to computeAnimtedStyle() perhaps) in another patch, because that rename should extend outside of AnimationController. I renamed animationControllerPriv() to just animationController(). I know that the normal term is just animation(), but that's very confusing in this context.
Simon Fraser (smfr)
Comment 4
2009-04-09 09:30:37 PDT
http://trac.webkit.org/changeset/42360
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