[Webkit-unassigned] [Bug 106594] [chromium] Register newly-created layers for animation

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 20 13:19:47 PST 2013


https://bugs.webkit.org/show_bug.cgi?id=106594





--- Comment #5 from Ali Juma <ajuma at chromium.org>  2013-02-20 13:22:11 PST ---
Starting orphaned animations before they get added to the tree is no longer part of the plan. This means the changes involving times are no longer needed.

(In reply to comment #3)
> (From update of attachment 182191 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=182191&action=review
> 
> > Source/Platform/chromium/public/WebLayerTreeView.h:154
> > -    virtual void updateAnimations(double frameBeginTime) = 0;
> > +    virtual void updateAnimations(double monotonicFrameBeginTime, double wallClockFrameBegin) = 0;
> 
> this is going to busterate the build unless a chromium-side patch implementing both changes has landed in chromium and rolled in.  please put the chromium rev# here on this bug when you do that

This change has been removed.


> > Source/WebKit/chromium/src/ChromeClientImpl.cpp:134
> > +    WebKit::ChromeClientImpl* m_chromeClient; // weak pointer
> 
> what makes sure this pointer won't outlive the object it points to? saying it's a weak pointer doesn't add anything (that's clear from the type) - what would be useful in a comment would be describing the lifecycle that makes it a *safe* weak pointer

Done (for m_webView, which we replaced m_chromeClient as a result of the comment below).


> > Source/WebKit/chromium/src/ChromeClientImpl.cpp:174
> > +    , m_graphicsLayerFactory(adoptPtr(new GraphicsLayerFactoryChromium(this)))
> 
> we have a WebViewImpl* here, why not just pass that in to GraphicsLayerFactoryChromium and avoid the downcast, etc?

Done.


> > Source/WebKit/chromium/src/WebViewImpl.cpp:1739
> > +        double wallClockFrameBeginTime = currentTime();
> 
> ick, why are you grabbing a wall clock time here? this isn't going to be a useful value for anyone

This change has been removed.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list