[webkit-changes] [WebKit/WebKit] 4f973f: Move PNG row decode colorChannels definition to wh...

Ahmad Saleem noreply at github.com
Sun Jun 11 06:39:36 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4f973fcc4d4acbdf2a089d726c2d36624565f4b2
      https://github.com/WebKit/WebKit/commit/4f973fcc4d4acbdf2a089d726c2d36624565f4b2
  Author: Ahmad Saleem <ahmad.saleem792+github at gmail.com>
  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




More information about the webkit-changes mailing list