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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 23 17:26:23 PDT 2022


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

--- Comment #14 from Tyler Wilcock <tyler_w at apple.com> ---
Comment on attachment 461834
  --> https://bugs.webkit.org/attachment.cgi?id=461834
Patch

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

> Source/WebCore/page/Page.cpp:4059
> +                    if (auto* cachedBackgroundImage = renderer->style().backgroundLayers().image()->cachedImage()) {

Is it possible for:

renderer->style().backgroundLayers().image()

To be null when we deref it for ->cachedImage() here?

> Source/WebCore/page/Page.cpp:4096
> +                    if (auto* cachedBackgroundImage = renderer->style().backgroundLayers().image()->cachedImage()) {

Is it possible for:

renderer->style().backgroundLayers().image()

To be null when we deref it for ->cachedImage() here?

-- 
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/20220824/b1cd3d9e/attachment.htm>


More information about the webkit-unassigned mailing list