Title: [225373] trunk/Source/WebKit
- Revision
- 225373
- Author
- [email protected]
- Date
- 2017-11-30 16:54:41 -0800 (Thu, 30 Nov 2017)
Log Message
Unreviewed build fix, suppress deprecation warnings.
* Shared/mac/SandboxExtensionMac.mm:
(WebKit::SandboxExtensionImpl::sandboxExtensionForType):
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (225372 => 225373)
--- trunk/Source/WebKit/ChangeLog 2017-12-01 00:51:14 UTC (rev 225372)
+++ trunk/Source/WebKit/ChangeLog 2017-12-01 00:54:41 UTC (rev 225373)
@@ -1,3 +1,10 @@
+2017-11-30 Ryan Haddad <[email protected]>
+
+ Unreviewed build fix, suppress deprecation warnings.
+
+ * Shared/mac/SandboxExtensionMac.mm:
+ (WebKit::SandboxExtensionImpl::sandboxExtensionForType):
+
2017-11-30 Daniel Bates <[email protected]>
Expose SPI didClickAlternativePresentationButtonWithUserInfo on iOS
Modified: trunk/Source/WebKit/Shared/mac/SandboxExtensionMac.mm (225372 => 225373)
--- trunk/Source/WebKit/Shared/mac/SandboxExtensionMac.mm 2017-12-01 00:51:14 UTC (rev 225372)
+++ trunk/Source/WebKit/Shared/mac/SandboxExtensionMac.mm 2017-12-01 00:54:41 UTC (rev 225373)
@@ -86,9 +86,12 @@
{
switch (type) {
case SandboxExtension::Type::ReadOnly:
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
return sandbox_extension_issue_file(APP_SANDBOX_READ, path, 0);
case SandboxExtension::Type::ReadWrite:
return sandbox_extension_issue_file(APP_SANDBOX_READ_WRITE, path, 0);
+#pragma clang diagnostic pop
case SandboxExtension::Type::Generic:
return sandbox_extension_issue_generic(path, 0);
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes