Title: [214382] trunk/Source/WebCore
- Revision
- 214382
- Author
- [email protected]
- Date
- 2017-03-24 16:09:41 -0700 (Fri, 24 Mar 2017)
Log Message
Unreviewed, fix the ToT build on the latest SDK.
Add deprecated declaration guards around two synchronous UIItemProvider methods in WebItemProviderPasteboard.
<rdar://problem/30451096> tracks adoption of the asynchronous versions of these methods.
* platform/ios/WebItemProviderPasteboard.mm:
(-[WebItemProviderPasteboard dataForPasteboardType:inItemSet:]):
(-[WebItemProviderPasteboard _tryToCreateAndAppendObjectOfClass:toArray:usingProvider:]):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (214381 => 214382)
--- trunk/Source/WebCore/ChangeLog 2017-03-24 22:10:45 UTC (rev 214381)
+++ trunk/Source/WebCore/ChangeLog 2017-03-24 23:09:41 UTC (rev 214382)
@@ -1,3 +1,14 @@
+2017-03-24 Wenson Hsieh <[email protected]>
+
+ Unreviewed, fix the ToT build on the latest SDK.
+
+ Add deprecated declaration guards around two synchronous UIItemProvider methods in WebItemProviderPasteboard.
+ <rdar://problem/30451096> tracks adoption of the asynchronous versions of these methods.
+
+ * platform/ios/WebItemProviderPasteboard.mm:
+ (-[WebItemProviderPasteboard dataForPasteboardType:inItemSet:]):
+ (-[WebItemProviderPasteboard _tryToCreateAndAppendObjectOfClass:toArray:usingProvider:]):
+
2017-03-24 Antoine Quint <[email protected]>
[Modern Media Controls] Captions don't move with the appearance of the inline controls
Modified: trunk/Source/WebCore/platform/ios/WebItemProviderPasteboard.mm (214381 => 214382)
--- trunk/Source/WebCore/platform/ios/WebItemProviderPasteboard.mm 2017-03-24 22:10:45 UTC (rev 214381)
+++ trunk/Source/WebCore/platform/ios/WebItemProviderPasteboard.mm 2017-03-24 23:09:41 UTC (rev 214382)
@@ -174,7 +174,11 @@
if (!provider)
return;
+ // FIXME: <rdar://problem/30451096> Adopt asynchronous UIItemProvider methods when retrieving data.
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
NSData *data = "" copyDataRepresentationForTypeIdentifier:pasteboardType error:nil];
+#pragma clang diagnostic pop
if (data)
[values addObject:data];
}];
@@ -216,7 +220,11 @@
if (![provider canCreateObjectOfClass:objectClass])
return NO;
+ // FIXME: <rdar://problem/30451096> Adopt asynchronous UIItemProvider methods when retrieving data.
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
id object = [provider createObjectOfClass:objectClass error:nil];
+#pragma clang diagnostic pop
if (object)
[array addObject:object];
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes