Title: [181410] trunk/Source/WebKit2
Revision
181410
Author
mmaxfi...@apple.com
Date
2015-03-11 15:23:45 -0700 (Wed, 11 Mar 2015)

Log Message

Fix the build

Unreviewed.

* Shared/Downloads/mac/DownloadMac.mm:
(WebKit::Download::start):
(WebKit::Download::resume):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (181409 => 181410)


--- trunk/Source/WebKit2/ChangeLog	2015-03-11 22:02:01 UTC (rev 181409)
+++ trunk/Source/WebKit2/ChangeLog	2015-03-11 22:23:45 UTC (rev 181410)
@@ -1,3 +1,13 @@
+2015-03-11  Myles C. Maxfield  <mmaxfi...@apple.com>
+
+        Fix the build
+
+        Unreviewed.
+
+        * Shared/Downloads/mac/DownloadMac.mm:
+        (WebKit::Download::start):
+        (WebKit::Download::resume):
+
 2015-03-10  Sam Weinig  <s...@webkit.org>
 
         Allow adding a button in input elements for auto fill related functionality

Modified: trunk/Source/WebKit2/Shared/Downloads/mac/DownloadMac.mm (181409 => 181410)


--- trunk/Source/WebKit2/Shared/Downloads/mac/DownloadMac.mm	2015-03-11 22:02:01 UTC (rev 181409)
+++ trunk/Source/WebKit2/Shared/Downloads/mac/DownloadMac.mm	2015-03-11 22:23:45 UTC (rev 181410)
@@ -62,7 +62,10 @@
     ASSERT(!m_delegate);
 
     m_delegate = adoptNS([[WKDownloadAsDelegate alloc] initWithDownload:this]);
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
     m_nsURLDownload = adoptNS([[NSURLDownload alloc] initWithRequest:m_request.nsURLRequest(UpdateHTTPBody) delegate:m_delegate.get()]);
+#pragma clang diagnostic pop
 
     // FIXME: Allow this to be changed by the client.
     [m_nsURLDownload setDeletesFileUponFailure:NO];
@@ -93,10 +96,16 @@
     if (m_sandboxExtension)
         m_sandboxExtension->consume();
 
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
     m_delegate = adoptNS([[WKDownloadAsDelegate alloc] initWithDownload:this]);
+#pragma clang diagnostic pop
 
     auto nsData = adoptNS([[NSData alloc] initWithBytes:resumeData.data() length:resumeData.size()]);
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
     m_nsURLDownload = adoptNS([[NSURLDownload alloc] initWithResumeData:nsData.get() delegate:m_delegate.get() path:path]);
+#pragma clang diagnostic pop
 
     m_request = [m_nsURLDownload request];
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to