[Webkit-unassigned] [Bug 244128] Add experimental feature to disable Bitmap image animations

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 25 11:00:42 PDT 2022


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

--- Comment #21 from Simon Fraser (smfr) <simon.fraser at apple.com> ---
Comment on attachment 461861
  --> https://bugs.webkit.org/attachment.cgi?id=461861
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=461861&action=review

> Source/WebCore/page/Page.h:982
> +    bool areAllAnimationsPaused() { return !m_hasUnpausedAnimations; }
> +    WEBCORE_EXPORT void toggleAllAnimations();
> +    bool containsAnimatedImages();

If these are just for testing (and I think they are), please name them `toggleAllAnimationsForTesting()`, `containsAnimatedImagesForTesting()` etc, since they are expensive and we don't want to start calling them in production code.

Also containsAnimatedImages() should be `const`.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220825/2e9bf587/attachment-0001.htm>


More information about the webkit-unassigned mailing list