[webkit-changes] [WebKit/WebKit] 1212e9: Ensure we have an image buffer before considering ...
Matthew Finkel
noreply at github.com
Tue May 23 10:40:17 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 1212e9728215ee03a6b1a68de4ca686c9eca8c56
https://github.com/WebKit/WebKit/commit/1212e9728215ee03a6b1a68de4ca686c9eca8c56
Author: Matthew Finkel <sysrqb at apple.com>
Date: 2023-05-23 (Tue, 23 May 2023)
Changed paths:
M Source/WebCore/html/CanvasBase.cpp
Log Message:
-----------
Ensure we have an image buffer before considering Canvas noise
https://bugs.webkit.org/show_bug.cgi?id=257143
rdar://109318643
Reviewed by Matt Woodrow.
If we don't have a ImageBuffer, then we don't have a canvas that needs
post-processing. We can shortcircuit this path by checking if the image buffer
is present.
* Source/WebCore/html/CanvasBase.cpp:
(WebCore::CanvasBase::shouldInjectNoiseBeforeReadback const):
Canonical link: https://commits.webkit.org/264427@main
More information about the webkit-changes
mailing list