Title: [236910] trunk/Source/WebKitLegacy/mac
Revision
236910
Author
[email protected]
Date
2018-10-07 15:53:12 -0700 (Sun, 07 Oct 2018)

Log Message

Fixed building with the latest macOS SDK

* Plugins/WebNetscapePluginPackage.mm:
(-[WebNetscapePluginPackage openResourceFile]):
(-[WebNetscapePluginPackage closeResourceFile:]):

Modified Paths

Diff

Modified: trunk/Source/WebKitLegacy/mac/ChangeLog (236909 => 236910)


--- trunk/Source/WebKitLegacy/mac/ChangeLog	2018-10-07 20:09:45 UTC (rev 236909)
+++ trunk/Source/WebKitLegacy/mac/ChangeLog	2018-10-07 22:53:12 UTC (rev 236910)
@@ -1,3 +1,11 @@
+2018-10-07  Dan Bernstein  <[email protected]>
+
+        Fixed building with the latest macOS SDK
+
+        * Plugins/WebNetscapePluginPackage.mm:
+        (-[WebNetscapePluginPackage openResourceFile]):
+        (-[WebNetscapePluginPackage closeResourceFile:]):
+
 2018-10-04  Dan Bernstein  <[email protected]>
 
         More Carbon build-fixing.

Modified: trunk/Source/WebKitLegacy/mac/Plugins/WebNetscapePluginPackage.mm (236909 => 236910)


--- trunk/Source/WebKitLegacy/mac/Plugins/WebNetscapePluginPackage.mm	2018-10-07 20:09:45 UTC (rev 236909)
+++ trunk/Source/WebKitLegacy/mac/Plugins/WebNetscapePluginPackage.mm	2018-10-07 22:53:12 UTC (rev 236910)
@@ -53,12 +53,16 @@
 
 - (ResFileRefNum)openResourceFile
 {
+ALLOW_DEPRECATED_DECLARATIONS_BEGIN
     return CFBundleOpenBundleResourceMap(cfBundle.get());
+ALLOW_DEPRECATED_DECLARATIONS_END
 }
 
 - (void)closeResourceFile:(ResFileRefNum)resRef
 {
+ALLOW_DEPRECATED_DECLARATIONS_BEGIN
     CFBundleCloseBundleResourceMap(cfBundle.get(), resRef);
+ALLOW_DEPRECATED_DECLARATIONS_END
 }
 
 - (BOOL)_initWithPath:(NSString *)pluginPath
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to