vcpkg/ports/qt5-webengine/build_3.patch
Alexander Neumann 8e926cc06c
[qt5] Update to 5.15.2 (#14678)
* [qt5] Update to 5.15.2
(mqtt currently missing git tag)

* deactivate update of ports

* update version

* reduce port version

* fix typo

* fix patch for linux missing pthread

* fix qt5-tools

* fix qt5-webengine

* add xcb-util to linux provisioning script

* fix version numbers

* fix other typo

* remove new hashes file

* fix latest version info

* switch to vcpkg_from_git
adjust vcpkg_from_git to handle tags.
add OUT_REF for vcpkg_from_git to enable scriptable update of ports

* regenerate docs

* [vcpkg_from_git] new options TAG and OUT_REF
- TAG github tag to checkout
- OUT_REF github commit id related to tag or ref
(useable for automatic updates of ports if used with a version tag)

* Apply suggestions from code review

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>

* additional changes due to CR

* regenerate docs

* Remove 'Port-Version:0' from qt5-location

Co-authored-by: ras0219 <533828+ras0219@users.noreply.github.com>

* add all those versions

* fix versions

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
Co-authored-by: ras0219 <533828+ras0219@users.noreply.github.com>
2021-01-20 12:55:41 -08:00

18 lines
1011 B
Diff

diff --git a/src/3rdparty/chromium/third_party/blink/renderer/platform/graphics/lab_color_space.h b/src/3rdparty/chromium/third_party/blink/renderer/platform/graphics/lab_color_space.h
index 78c316e04..fdb0312e0 100644
--- a/src/3rdparty/chromium/third_party/blink/renderer/platform/graphics/lab_color_space.h
+++ b/src/3rdparty/chromium/third_party/blink/renderer/platform/graphics/lab_color_space.h
@@ -138,9 +138,9 @@ class LABColorSpace {
clamp(lab.Z(), -128.0f, 128.0f)};
return {
- invf((v.X() + 16.0f) / 116.0f + (v.Y() * 0.002f)) * kIlluminantD50.X(),
- invf((v.X() + 16.0f) / 116.0f) * kIlluminantD50.Y(),
- invf((v.X() + 16.0f) / 116.0f - (v.Z() * 0.005f)) * kIlluminantD50.Z()};
+ (float)(invf((v.X() + 16.0f) / 116.0f + (v.Y() * 0.002f)) * kIlluminantD50.X()),
+ (float)(invf((v.X() + 16.0f) / 116.0f) * kIlluminantD50.Y()),
+ (float)(invf((v.X() + 16.0f) / 116.0f - (v.Z() * 0.005f)) * kIlluminantD50.Z())};
}
private: