Unreviewed build fix.
authoreric.carlson@apple.com <eric.carlson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 15 May 2015 20:02:13 +0000 (20:02 +0000)
committereric.carlson@apple.com <eric.carlson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 15 May 2015 20:02:13 +0000 (20:02 +0000)
* platform/ios/WebVideoFullscreenInterfaceAVKit.mm: Add clang pragmas to ignore
deprecation warnings.

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

Source/WebCore/ChangeLog
Source/WebCore/platform/ios/WebVideoFullscreenInterfaceAVKit.mm

index c003e70..5a485e4 100644 (file)
@@ -1,3 +1,10 @@
+2015-05-15  Eric Carlson  <eric.carlson@apple.com>
+
+        Unreviewed build fix.
+
+        * platform/ios/WebVideoFullscreenInterfaceAVKit.mm: Add clang pragmas to ignore
+        deprecation warnings.
+
 2015-05-15  Jeremy Jones  <jeremyj@apple.com>
 
         Limit alternate fullscreen with linked on or after.
index 530f8c1..46a0f52 100644 (file)
@@ -1129,6 +1129,8 @@ void WebVideoFullscreenInterfaceAVKit::cleanupFullscreen()
     });
 }
 
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
 void WebVideoFullscreenInterfaceAVKit::cleanupFullscreenInternal()
 {
     LOG(Fullscreen, "WebVideoFullscreenInterfaceAVKit::cleanupFullscreenInternal(%p)", this);
@@ -1178,6 +1180,7 @@ void WebVideoFullscreenInterfaceAVKit::cleanupFullscreenInternal()
         strongThis->m_enterRequested = false;
     });
 }
+#pragma clang diagnostic pop
 
 void WebVideoFullscreenInterfaceAVKit::invalidate()
 {