diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:35:29 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:35:29 +0000 |
commit | 59203c63bb777a3bacec32fb8830fba33540e809 (patch) | |
tree | 58298e711c0ff0575818c30485b44a2f21bf28a0 /dom/canvas/WebGLTypes.h | |
parent | Adding upstream version 126.0.1. (diff) | |
download | firefox-59203c63bb777a3bacec32fb8830fba33540e809.tar.xz firefox-59203c63bb777a3bacec32fb8830fba33540e809.zip |
Adding upstream version 127.0.upstream/127.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'dom/canvas/WebGLTypes.h')
-rw-r--r-- | dom/canvas/WebGLTypes.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/dom/canvas/WebGLTypes.h b/dom/canvas/WebGLTypes.h index f5f78e98cb..2f1d9331a7 100644 --- a/dom/canvas/WebGLTypes.h +++ b/dom/canvas/WebGLTypes.h @@ -362,8 +362,7 @@ struct WebGLContextOptions final { dom::WebGLPowerPreference powerPreference = dom::WebGLPowerPreference::Default; - bool ignoreColorSpace = true; - dom::PredefinedColorSpace colorSpace = dom::PredefinedColorSpace::Srgb; + std::optional<dom::PredefinedColorSpace> colorSpace; bool shouldResistFingerprinting = true; bool enableDebugRendererInfo = false; @@ -383,7 +382,6 @@ struct WebGLContextOptions final { powerPreference, colorSpace, - ignoreColorSpace, shouldResistFingerprinting, enableDebugRendererInfo); |