Summary: | DeclarativeAnimation should suspend, resume, & stop m_eventQueue | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Ryosuke Niwa <rniwa> | ||||
Component: | Animations | Assignee: | Antoine Quint <graouts> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | dino, graouts, rniwa, webkit-bug-importer | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | WebKit Nightly Build | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Ryosuke Niwa
2018-06-29 23:32:11 PDT
DeclarativeAnimation is not an ActiveDOMObject… yet :) Except its superclass, WebAnimation, is. Duh. Created attachment 345412 [details]
Patch
Comment on attachment 345412 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=345412&action=review > Source/WebCore/animation/DeclarativeAnimation.cpp:220 > + ActiveDOMObject::suspend(reason); There is no need to call this. It's empty. But we should call WebAnimation::suspend(reason) to make this code future proof. > Source/WebCore/animation/DeclarativeAnimation.cpp:226 > + ActiveDOMObject::resume(); Ditto. Committed r234049: <https://trac.webkit.org/changeset/234049> |