[webkit-changes] [WebKit/WebKit] f0697e: ImageDecoderCG::createFrameImageAtIndex's use of m...
Ryosuke Niwa
noreply at github.com
Mon May 6 19:31:18 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: f0697eb70f0c468754be1a19f643033da4b6beb0
https://github.com/WebKit/WebKit/commit/f0697eb70f0c468754be1a19f643033da4b6beb0
Author: Ryosuke Niwa <rniwa at webkit.org>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M Source/WebCore/platform/graphics/cg/ImageDecoderCG.cpp
M Source/WebCore/platform/graphics/cg/ImageDecoderCG.h
Log Message:
-----------
ImageDecoderCG::createFrameImageAtIndex's use of m_uti is not thread safe
https://bugs.webkit.org/show_bug.cgi?id=273801
Reviewed by Said Abou-Hallawa.
Replace the use of ImageDecoderCG::uti in ImageDecoderCG::createFrameImageAtIndex
with a boolean to make it thread safe.
* Source/WebCore/platform/graphics/cg/ImageDecoderCG.cpp:
(WebCore::ImageDecoderCG::createFrameImageAtIndex):
(WebCore::ImageDecoderCG::setData):
* Source/WebCore/platform/graphics/cg/ImageDecoderCG.h:
* Source/WebCore/platform/network/DataURLDecoder.cpp:
(WebCore::DataURLDecoder::parseMediaType):
Canonical link: https://commits.webkit.org/278438@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list