Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 4f973fcc4d4acbdf2a089d726c2d36624565f4b2
https://github.com/WebKit/WebKit/commit/4f973fcc4d4acbdf2a089d726c2d36624565f4b2
Author: Ahmad Saleem <[email protected]>
Date: 2023-06-11 (Sun, 11 Jun 2023)
Changed paths:
M Source/WebCore/platform/image-decoders/png/PNGImageDecoder.cpp
Log Message:
-----------
Move PNG row decode colorChannels definition to where used
https://bugs.webkit.org/show_bug.cgi?id=249879
rdar://problem/103797795
Reviewed by Don Olmstead.
Inspired:
https://chromium.googlesource.com/chromium/blink/+/6a8b3bdbb22821f68d4e3da67bf2be13ef521d9b
This patch moves 'colorChannels' variable near to their use and
fly-by 'leading space' fixes in comments.
* Source/WebCore/platform/image-decoders/png/PNGImageDecoder.cpp:
(PNGImageDecoder::rowAvailable):
(PNGImageDecoder::frameComplete):
Canonical link: https://commits.webkit.org/265060@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes