WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
[patch]
WIP patch
a.diff (text/plain), 1.32 KB, created by
Fujii Hironori
on 2021-05-18 15:03:49 PDT
(
hide
)
Description:
WIP patch
Filename:
MIME Type:
Creator:
Fujii Hironori
Created:
2021-05-18 15:03:49 PDT
Size:
1.32 KB
patch
obsolete
>diff --git a/Source/WebCore/platform/graphics/ConcreteImageBuffer.h b/Source/WebCore/platform/graphics/ConcreteImageBuffer.h >index 644ab240b42b..e049ddbdea50 100644 >--- a/Source/WebCore/platform/graphics/ConcreteImageBuffer.h >+++ b/Source/WebCore/platform/graphics/ConcreteImageBuffer.h >@@ -200,6 +200,7 @@ protected: > if (auto* backend = ensureBackendCreated()) { > flushDrawingContext(); > backend->transformColorSpace(srcColorSpace, destColorSpace); >+ m_parameters.colorSpace = destColorSpace; > } > } > >diff --git a/Source/WebCore/platform/graphics/cairo/ImageBufferCairoBackend.cpp b/Source/WebCore/platform/graphics/cairo/ImageBufferCairoBackend.cpp >index 6742d0511e35..936649d1face 100644 >--- a/Source/WebCore/platform/graphics/cairo/ImageBufferCairoBackend.cpp >+++ b/Source/WebCore/platform/graphics/cairo/ImageBufferCairoBackend.cpp >@@ -99,6 +99,8 @@ void ImageBufferCairoBackend::transformColorSpace(DestinationColorSpace srcColor > || (destColorSpace != DestinationColorSpace::LinearSRGB && destColorSpace != DestinationColorSpace::SRGB)) > return; > >+ m_parameters.colorSpace = destColorSpace; >+ > if (destColorSpace == DestinationColorSpace::LinearSRGB) { > static const std::array<uint8_t, 256> linearRgbLUT = [] { > std::array<uint8_t, 256> array;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 225907
:
428914
|
428983
|
429094
|
429132
|
429137
|
429266