Title: [226533] trunk/Source/WebKit
Revision
226533
Author
[email protected]
Date
2018-01-08 13:48:02 -0800 (Mon, 08 Jan 2018)

Log Message

Build fix for WKPDFView
https://bugs.webkit.org/show_bug.cgi?id=181399
<rdar://problem/36311915>

Reviewed by Simon Fraser.

* UIProcess/ios/WKPDFView.mm:
Disable deprecation warnings in this whole file.

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (226532 => 226533)


--- trunk/Source/WebKit/ChangeLog	2018-01-08 21:19:24 UTC (rev 226532)
+++ trunk/Source/WebKit/ChangeLog	2018-01-08 21:48:02 UTC (rev 226533)
@@ -1,3 +1,14 @@
+2018-01-08  Tim Horton  <[email protected]>
+
+        Build fix for WKPDFView
+        https://bugs.webkit.org/show_bug.cgi?id=181399
+        <rdar://problem/36311915>
+
+        Reviewed by Simon Fraser.
+
+        * UIProcess/ios/WKPDFView.mm:
+        Disable deprecation warnings in this whole file.
+
 2018-01-08  Youenn Fablet  <[email protected]>
 
         Caches::writeCachesToDisk should assert that it is initialized

Modified: trunk/Source/WebKit/UIProcess/ios/WKPDFView.mm (226532 => 226533)


--- trunk/Source/WebKit/UIProcess/ios/WKPDFView.mm	2018-01-08 21:19:24 UTC (rev 226532)
+++ trunk/Source/WebKit/UIProcess/ios/WKPDFView.mm	2018-01-08 21:48:02 UTC (rev 226533)
@@ -49,6 +49,11 @@
 #import <wtf/RetainPtr.h>
 #import <wtf/Vector.h>
 
+// All of UIPDFPage* are deprecated, so just ignore deprecated declarations
+// in this file until we switch off them.
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
+
 using namespace WebCore;
 using namespace WebKit;
 
@@ -885,4 +890,6 @@
 
 @end
 
+#pragma clang diagnostic pop
+
 #endif /* PLATFORM(IOS) */
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to