Automatic update from web-platform-tests Convert eyedropper color to sRGB instead of device-RGB NSColorSampler returns colors in the display's native color space. Currently it is converted via skia::NSSystemColorToSkColor, which forces deviceRGBColorSpace and returns uncalibrated device coordinates mislabeled as sRGB. On wide-gamut/P3 displays this produces wrong values. Use skia::CGColorRefToSkColor(selectedColor.CGColor) instead, which performs a proper color-managed conversion to sRGB via CGColorCreateCopyByMatchingToColorSpace. Bug: 40211008, 381372611 Change-Id: If103d6e744211dc292b47646152d9a71303b621b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7980163 Reviewed-by: Avi Drissman <avi@chromium.org> Commit-Queue: Ana Sollano Kim <ansollan@microsoft.com> Reviewed-by: Dan Clark <daniec@microsoft.com> Cr-Commit-Position: refs/heads/main@{#1655124} -- wpt-commits: b71327861a991b3dd2b552d6e6954af1cbb3c488 wpt-pr: 60941