Title: [231578] trunk/Source/WebCore
Revision
231578
Author
[email protected]
Date
2018-05-09 11:31:24 -0700 (Wed, 09 May 2018)

Log Message

Fix the build by ignoring some deprecation warnings

* platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
(WebCore::MediaPlayerPrivateAVFoundationObjC::setShouldDisableSleep):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (231577 => 231578)


--- trunk/Source/WebCore/ChangeLog	2018-05-09 18:21:37 UTC (rev 231577)
+++ trunk/Source/WebCore/ChangeLog	2018-05-09 18:31:24 UTC (rev 231578)
@@ -1,3 +1,10 @@
+2018-05-09  Tim Horton  <[email protected]>
+
+        Fix the build by ignoring some deprecation warnings
+
+        * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
+        (WebCore::MediaPlayerPrivateAVFoundationObjC::setShouldDisableSleep):
+
 2018-05-09  Michael Catanzaro  <[email protected]>
 
         [WPE] Build cleanly with GCC 8 and ICU 60

Modified: trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm (231577 => 231578)


--- trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm	2018-05-09 18:21:37 UTC (rev 231577)
+++ trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm	2018-05-09 18:31:24 UTC (rev 231578)
@@ -3220,7 +3220,10 @@
 void MediaPlayerPrivateAVFoundationObjC::setShouldDisableSleep(bool flag)
 {
 #if PLATFORM(IOS) && !PLATFORM(IOS_SIMULATOR) && !ENABLE(MINIMAL_SIMULATOR)
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
     [m_avPlayer _setPreventsSleepDuringVideoPlayback:flag];
+#pragma clang diagnostic pop
 #else
     UNUSED_PARAM(flag);
 #endif
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to