Bug 84978

Summary: Move PropertyWrapper out of the AnimationBase
Product: WebKit Reporter: Igor Trindade Oliveira <igor.oliveira>
Component: WebCore Misc.Assignee: Igor Trindade Oliveira <igor.oliveira>
Status: RESOLVED FIXED    
Severity: Normal CC: dglazkov, dino, gustavo, rakuco, simon.fraser, webkit.review.bot, xan.lopez
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch
none
Patch
none
Patch
simon.fraser: review-, buildbot: commit-queue-
Patch
none
Patch
webkit.review.bot: commit-queue-
Archive of layout-test-results from ec2-cr-linux-03
none
Patch
none
Patch
dino: review+
Patch none

Igor Trindade Oliveira
Reported 2012-04-26 11:33:38 PDT
Removing PropertyWrapper makes the AnimationBase simpler.
Attachments
Patch (146.41 KB, patch)
2012-04-26 11:46 PDT, Igor Trindade Oliveira
no flags
Patch (147.09 KB, patch)
2012-04-26 12:15 PDT, Igor Trindade Oliveira
no flags
Patch (150.23 KB, patch)
2012-04-26 12:22 PDT, Igor Trindade Oliveira
simon.fraser: review-
buildbot: commit-queue-
Patch (149.83 KB, patch)
2012-04-26 17:48 PDT, Igor Trindade Oliveira
no flags
Patch (149.85 KB, patch)
2012-04-26 17:57 PDT, Igor Trindade Oliveira
webkit.review.bot: commit-queue-
Archive of layout-test-results from ec2-cr-linux-03 (6.06 MB, application/zip)
2012-04-27 12:56 PDT, WebKit Review Bot
no flags
Patch (149.77 KB, patch)
2012-04-27 14:10 PDT, Igor Trindade Oliveira
no flags
Patch (149.79 KB, patch)
2012-04-27 14:21 PDT, Igor Trindade Oliveira
dino: review+
Patch (155.86 KB, patch)
2012-04-28 11:03 PDT, Igor Trindade Oliveira
no flags
Igor Trindade Oliveira
Comment 1 2012-04-26 11:46:22 PDT
Created attachment 139034 [details] Patch Proposed patch.
Igor Trindade Oliveira
Comment 2 2012-04-26 11:47:33 PDT
With this change will be easier to make gPropertyWrappers ref counted. It is the next step.
Simon Fraser (smfr)
Comment 3 2012-04-26 11:48:45 PDT
(In reply to comment #2) > With this change will be easier to make gPropertyWrappers ref counted. It is the next step. Why do you want to do this?
Igor Trindade Oliveira
Comment 4 2012-04-26 11:54:01 PDT
Right now gPropertyWrappers is not deleted, we need to find a way to delete it. Instead of be ref counted we can just create a destroy method in the AnimationPropertyHandler and call it when ~AnimationController is called. (In reply to comment #3) > (In reply to comment #2) > > With this change will be easier to make gPropertyWrappers ref counted. It is the next step. > > Why do you want to do this?
Simon Fraser (smfr)
Comment 5 2012-04-26 11:59:06 PDT
Why does it have to be deletable?
Igor Trindade Oliveira
Comment 6 2012-04-26 12:15:55 PDT
Created attachment 139039 [details] Patch Updated patch
Igor Trindade Oliveira
Comment 7 2012-04-26 12:17:38 PDT
As discussed in the IRC, does not make sense we make gPropertyWrappers deletable. However, this patch fixes the layer violation about AnimationController accessing AnimationBase property handlers and make AnimationBase simpler. (In reply to comment #5) > Why does it have to be deletable?
Igor Trindade Oliveira
Comment 8 2012-04-26 12:22:30 PDT
Created attachment 139042 [details] Patch Proposed patch.
Early Warning System Bot
Comment 9 2012-04-26 12:37:36 PDT
Build Bot
Comment 10 2012-04-26 12:43:05 PDT
Gustavo Noronha (kov)
Comment 11 2012-04-26 12:44:10 PDT
Igor Trindade Oliveira
Comment 12 2012-04-26 12:45:22 PDT
Comment on attachment 139042 [details] Patch Clear flags. A new patch is being cooked.
Build Bot
Comment 13 2012-04-26 12:50:12 PDT
Early Warning System Bot
Comment 14 2012-04-26 12:59:10 PDT
Simon Fraser (smfr)
Comment 15 2012-04-26 13:02:20 PDT
Comment on attachment 139042 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=139042&action=review > Source/WebCore/ChangeLog:8 > + of property handlers. This patch remove the property handlers for a > + separated class making AnimationBase simpler. I'd use the term "move" rather than "remove". > Source/WebCore/page/animation/AnimationPropertyHandler.h:41 > +class AnimationPropertyHandler { I think PropertyAnimation would be a better name for this class, or maybe even CSSPropertyAnimation.
Igor Trindade Oliveira
Comment 16 2012-04-26 17:48:51 PDT
Created attachment 139108 [details] Patch Updated patch.
Igor Trindade Oliveira
Comment 17 2012-04-26 17:57:48 PDT
Created attachment 139112 [details] Patch Updated patch. Fix changelog.
WebKit Review Bot
Comment 18 2012-04-27 12:55:56 PDT
Comment on attachment 139112 [details] Patch Attachment 139112 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/12551293 New failing tests: compositing/overflow-trumps-transform-style.html transforms/3d/general/3dtransform-values.html
WebKit Review Bot
Comment 19 2012-04-27 12:56:02 PDT
Created attachment 139251 [details] Archive of layout-test-results from ec2-cr-linux-03 The attached test failures were seen while running run-webkit-tests on the chromium-ews. Bot: ec2-cr-linux-03 Port: <class 'webkitpy.common.config.ports.ChromiumXVFBPort'> Platform: Linux-2.6.35-28-virtual-x86_64-with-Ubuntu-10.10-maverick
Igor Trindade Oliveira
Comment 20 2012-04-27 14:10:04 PDT
Created attachment 139272 [details] Patch Fix crash in the previous patch.
Igor Trindade Oliveira
Comment 21 2012-04-27 14:21:36 PDT
Created attachment 139277 [details] Patch Updated patch.
Dean Jackson
Comment 22 2012-04-27 15:32:25 PDT
Comment on attachment 139277 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=139277&action=review As long is this is just moving code to CSSPropertyAnimation, then I'm ok with it. > Source/WebCore/ChangeLog:10 > + property handlers. This patch moves the property handlers for a separated > + class making AnimationBase simpler. handlers *to a separate* class
Igor Trindade Oliveira
Comment 23 2012-04-28 11:03:17 PDT
Created attachment 139366 [details] Patch final patch.
WebKit Review Bot
Comment 24 2012-04-28 13:58:27 PDT
Comment on attachment 139366 [details] Patch Clearing flags on attachment: 139366 Committed r115581: <http://trac.webkit.org/changeset/115581>
Note You need to log in before you can comment on or make changes to this bug.