Title: [226285] trunk/Source/WebKitLegacy/mac
- Revision
- 226285
- Author
- [email protected]
- Date
- 2017-12-22 15:50:11 -0800 (Fri, 22 Dec 2017)
Log Message
Unreviewed, continue to fix build failures due to AppKit API deprecation
Wraps more code in -Wdeprecated-declarations.
* Carbon/HIWebView.mm:
(overrideCGContext):
Modified Paths
Diff
Modified: trunk/Source/WebKitLegacy/mac/Carbon/HIWebView.mm (226284 => 226285)
--- trunk/Source/WebKitLegacy/mac/Carbon/HIWebView.mm 2017-12-22 23:34:54 UTC (rev 226284)
+++ trunk/Source/WebKitLegacy/mac/Carbon/HIWebView.mm 2017-12-22 23:50:11 UTC (rev 226285)
@@ -286,7 +286,10 @@
static CGContextRef overrideCGContext(NSWindow *window, CGContextRef context)
{
NSWindowGraphicsContext *graphicsContext = (NSWindowGraphicsContext *)window.graphicsContext;
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
CGContextRef savedContext = (CGContextRef)graphicsContext.graphicsPort;
+#pragma clang diagnostic pop
CGContextRetain(savedContext);
[graphicsContext _web_setGraphicsPort:context];
return savedContext;
Modified: trunk/Source/WebKitLegacy/mac/ChangeLog (226284 => 226285)
--- trunk/Source/WebKitLegacy/mac/ChangeLog 2017-12-22 23:34:54 UTC (rev 226284)
+++ trunk/Source/WebKitLegacy/mac/ChangeLog 2017-12-22 23:50:11 UTC (rev 226285)
@@ -1,5 +1,14 @@
2017-12-22 Wenson Hsieh <[email protected]>
+ Unreviewed, continue to fix build failures due to AppKit API deprecation
+
+ Wraps more code in -Wdeprecated-declarations.
+
+ * Carbon/HIWebView.mm:
+ (overrideCGContext):
+
+2017-12-22 Wenson Hsieh <[email protected]>
+
Unreviewed, fix build failures due to using deprecated AppKit symbols when building 32-bit
Wrap some more code in -Wdeprecated-declarations to try and fix the 32-bit build using the newest SDK.
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes