* platform/graphics/avfoundation/objc/CDMSessionAVStreamSession.mm:
(WebCore::CDMSessionAVStreamSession::update): Suppress the objc-literal-conversion warning
in one place where we are calling a class method on a Class and the compiler can’t tell
which class it is, so it chooses wrong and emits a warning.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@219767
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2017-07-22 Dan Bernstein <mitz@apple.com>
+
+ Fixed building for macOS 10.12 with the macOS 10.13 SDK after r219644.
+
+ * platform/graphics/avfoundation/objc/CDMSessionAVStreamSession.mm:
+ (WebCore::CDMSessionAVStreamSession::update): Suppress the objc-literal-conversion warning
+ in one place where we are calling a class method on a Class and the compiler can’t tell
+ which class it is, so it chooses wrong and emits a warning.
+
2017-07-22 Chris Dumez <cdumez@apple.com>
Merge ExceptionBase into DOMException and drop custom toString
RetainPtr<NSData> certificateData = adoptNS([[NSData alloc] initWithBytes:m_certificate->data() length:m_certificate->length()]);
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wobjc-literal-conversion"
if ([getAVStreamSessionClass() respondsToSelector:@selector(removePendingExpiredSessionReports:withAppIdentifier:storageDirectoryAtURL:)])
[getAVStreamSessionClass() removePendingExpiredSessionReports:@[m_expiredSession.get()] withAppIdentifier:certificateData.get() storageDirectoryAtURL:[NSURL fileURLWithPath:storagePath()]];
+#pragma clang diagnostic pop
m_expiredSession = nullptr;
return true;
}