Title: [216290] trunk/Source/WebKit2
- Revision
- 216290
- Author
- [email protected]
- Date
- 2017-05-05 16:33:04 -0700 (Fri, 05 May 2017)
Log Message
Ensure NSColorPickerTouchBarItem only uses sRGB colors
https://bugs.webkit.org/show_bug.cgi?id=171758
-and corresponding-
rdar://problem/28314183
Reviewed by Tim Horton.
* UIProcess/Cocoa/WebViewImpl.mm:
(-[WKTextTouchBarItemController itemForIdentifier:]):
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (216289 => 216290)
--- trunk/Source/WebKit2/ChangeLog 2017-05-05 23:26:01 UTC (rev 216289)
+++ trunk/Source/WebKit2/ChangeLog 2017-05-05 23:33:04 UTC (rev 216290)
@@ -1,3 +1,15 @@
+2017-05-05 Beth Dakin <[email protected]>
+
+ Ensure NSColorPickerTouchBarItem only uses sRGB colors
+ https://bugs.webkit.org/show_bug.cgi?id=171758
+ -and corresponding-
+ rdar://problem/28314183
+
+ Reviewed by Tim Horton.
+
+ * UIProcess/Cocoa/WebViewImpl.mm:
+ (-[WKTextTouchBarItemController itemForIdentifier:]):
+
2017-05-05 Brent Fulgham <[email protected]>
[WK2][iOS][macOS] Expand sandbox to access vm.footprint_suspend
Modified: trunk/Source/WebKit2/UIProcess/Cocoa/WebViewImpl.mm (216289 => 216290)
--- trunk/Source/WebKit2/UIProcess/Cocoa/WebViewImpl.mm 2017-05-05 23:26:01 UTC (rev 216289)
+++ trunk/Source/WebKit2/UIProcess/Cocoa/WebViewImpl.mm 2017-05-05 23:33:04 UTC (rev 216290)
@@ -674,6 +674,9 @@
colorPickerItem.target = self;
colorPickerItem.action = ""
colorPickerItem.showsAlpha = NO;
+#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101300
+ colorPickerItem.allowedColorSpaces = @[ [NSColorSpace sRGBColorSpace] ];
+#endif
}
return item;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes