Title: [264946] trunk/Source/WebCore/PAL
- Revision
- 264946
- Author
- jbed...@apple.com
- Date
- 2020-07-27 14:59:55 -0700 (Mon, 27 Jul 2020)
Log Message
[Big Sur] Wrap SPI in feature guards
https://bugs.webkit.org/show_bug.cgi?id=214844
<rdar://problem/66178527>
Reviewed by Darin Adler.
* pal/spi/mac/NSImageSPI.h:
Modified Paths
Diff
Modified: trunk/Source/WebCore/PAL/ChangeLog (264945 => 264946)
--- trunk/Source/WebCore/PAL/ChangeLog 2020-07-27 21:57:15 UTC (rev 264945)
+++ trunk/Source/WebCore/PAL/ChangeLog 2020-07-27 21:59:55 UTC (rev 264946)
@@ -1,3 +1,13 @@
+2020-07-27 Jonathan Bedard <jbed...@apple.com>
+
+ [Big Sur] Wrap SPI in feature guards
+ https://bugs.webkit.org/show_bug.cgi?id=214844
+ <rdar://problem/66178527>
+
+ Reviewed by Darin Adler.
+
+ * pal/spi/mac/NSImageSPI.h:
+
2020-07-27 Chris Dumez <cdu...@apple.com>
ASSERT([filteredCookies.get() count] <= 1) on imported/w3c/web-platform-tests/websockets/cookies/third-party-cookie-accepted.https.html
Modified: trunk/Source/WebCore/PAL/pal/spi/mac/NSImageSPI.h (264945 => 264946)
--- trunk/Source/WebCore/PAL/pal/spi/mac/NSImageSPI.h 2020-07-27 21:57:15 UTC (rev 264945)
+++ trunk/Source/WebCore/PAL/pal/spi/mac/NSImageSPI.h 2020-07-27 21:59:55 UTC (rev 264946)
@@ -35,9 +35,6 @@
NS_ASSUME_NONNULL_BEGIN
-extern const NSImageHintKey NSImageHintSymbolFont;
-extern const NSImageHintKey NSImageHintSymbolScale;
-
@interface NSImage ()
- (void)lockFocusWithRect:(NSRect)rect context:(nullable NSGraphicsContext *)context hints:(nullable NSDictionary *)hints flipped:(BOOL)flipped;
@end
@@ -50,4 +47,9 @@
#endif
+#if HAVE(ALTERNATE_ICONS)
+extern const NSImageHintKey NSImageHintSymbolFont;
+extern const NSImageHintKey NSImageHintSymbolScale;
#endif
+
+#endif
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes