Build fix for some compiler versions.
authorap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 1 Dec 2015 01:05:13 +0000 (01:05 +0000)
committerap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 1 Dec 2015 01:05:13 +0000 (01:05 +0000)
* UIProcess/ios/forms/WKAirPlayRoutePicker.mm: Disable deprecation warnings while
processing SOFT_LINK_CLASS too.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@192846 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/ios/forms/WKAirPlayRoutePicker.mm

index b119a2c..9a41c15 100644 (file)
@@ -1,3 +1,10 @@
+2015-11-30  Alexey Proskuryakov  <ap@apple.com>
+
+        Build fix for some compiler versions.
+
+        * UIProcess/ios/forms/WKAirPlayRoutePicker.mm: Disable deprecation warnings while
+        processing SOFT_LINK_CLASS too.
+
 2015-11-30  Jiewen Tan  <jiewen_tan@apple.com>
 
         Null dereference loading Blink layout test http/tests/misc/detach-during-notifyDone.html
index e464298..b8e6ad0 100644 (file)
@@ -36,6 +36,9 @@
 #import <WebCore/SoftLinking.h>
 #import <wtf/RetainPtr.h>
 
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
+
 SOFT_LINK_FRAMEWORK(MediaPlayer)
 SOFT_LINK_CLASS(MediaPlayer, MPAVRoutingController)
 SOFT_LINK_CLASS(MediaPlayer, MPAudioVideoRoutingPopoverController)
@@ -43,9 +46,6 @@ SOFT_LINK_CLASS(MediaPlayer, MPAudioVideoRoutingActionSheet)
 
 using namespace WebKit;
 
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wdeprecated-declarations"
-
 @implementation WKAirPlayRoutePicker {
     RetainPtr<MPAVRoutingController> _routingController;
     RetainPtr<MPAudioVideoRoutingPopoverController> _popoverController;  // iPad