Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 04196137234f9804eec961775176d440038ff11d
      
https://github.com/WebKit/WebKit/commit/04196137234f9804eec961775176d440038ff11d
  Author: Said Abou-Hallawa <[email protected]>
  Date:   2023-03-27 (Mon, 27 Mar 2023)

  Changed paths:
    M Source/WebCore/platform/graphics/cg/ImageDecoderCG.cpp

  Log Message:
  -----------
  [CG] Building the dictionary of the async image decoding options is not 
thread safe
https://bugs.webkit.org/show_bug.cgi?id=254532
rdar://106302373

Reviewed by Simon Fraser.

Make imageSourceThumbnailOptions() be thread-safe by ensuring the
static variable 'options' is initialized by only one thread.

* Source/WebCore/platform/graphics/cg/ImageDecoderCG.cpp:
(WebCore::imageSourceThumbnailOptions):

Canonical link: https://commits.webkit.org/262175@main


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to