Title: [202688] trunk/Source/WebCore
- Revision
- 202688
- Author
- bb...@apple.com
- Date
- 2016-06-30 11:06:12 -0700 (Thu, 30 Jun 2016)
Log Message
Unreviewed, fix the macOS Sierra Release configuration after r202642.
* platform/audio/mac/MediaSessionManagerMac.mm:
(WebCore::MediaSessionManagerMac::updateNowPlayingInfo):
Add missing UNUSED_PARAM for when logging is not enabled.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (202687 => 202688)
--- trunk/Source/WebCore/ChangeLog 2016-06-30 17:49:27 UTC (rev 202687)
+++ trunk/Source/WebCore/ChangeLog 2016-06-30 18:06:12 UTC (rev 202688)
@@ -1,3 +1,11 @@
+2016-06-30 Brian Burg <bb...@apple.com>
+
+ Unreviewed, fix the macOS Sierra Release configuration after r202642.
+
+ * platform/audio/mac/MediaSessionManagerMac.mm:
+ (WebCore::MediaSessionManagerMac::updateNowPlayingInfo):
+ Add missing UNUSED_PARAM for when logging is not enabled.
+
2016-06-30 Commit Queue <commit-qu...@webkit.org>
Unreviewed, rolling out r202679.
Modified: trunk/Source/WebCore/platform/audio/mac/MediaSessionManagerMac.mm (202687 => 202688)
--- trunk/Source/WebCore/platform/audio/mac/MediaSessionManagerMac.mm 2016-06-30 17:49:27 UTC (rev 202687)
+++ trunk/Source/WebCore/platform/audio/mac/MediaSessionManagerMac.mm 2016-06-30 18:06:12 UTC (rev 202688)
@@ -127,7 +127,11 @@
MRMediaRemoteSetNowPlayingInfo(nullptr);
m_nowPlayingActive = false;
MRMediaRemoteSetNowPlayingApplicationPlaybackStateForOrigin(MRMediaRemoteGetLocalOrigin(), kMRPlaybackStateStopped, dispatch_get_main_queue(), ^(MRMediaRemoteError error) {
+#if LOG_DISABLED
+ UNUSED_PARAM(error);
+#else
LOG(Media, "MediaSessionManagerMac::updateNowPlayingInfo - MRMediaRemoteSetNowPlayingApplicationPlaybackStateForOrigin(stopped) failed with error %ud", error);
+#endif
});
}
@@ -170,7 +174,11 @@
m_nowPlayingActive = true;
MRMediaRemoteSetNowPlayingApplicationPlaybackStateForOrigin(MRMediaRemoteGetLocalOrigin(), kMRPlaybackStatePlaying, dispatch_get_main_queue(), ^(MRMediaRemoteError error) {
+#if LOG_DISABLED
+ UNUSED_PARAM(error);
+#else
LOG(Media, "MediaSessionManagerMac::updateNowPlayingInfo - MRMediaRemoteSetNowPlayingApplicationPlaybackStateForOrigin(playing) failed with error %ud", error);
+#endif
});
MRMediaRemoteSetNowPlayingInfo(info.get());
#endif
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes