Title: [273697] trunk/Source/WebCore
- Revision
- 273697
- Author
- commit-qu...@webkit.org
- Date
- 2021-03-01 15:15:25 -0800 (Mon, 01 Mar 2021)
Log Message
Unreviewed, fix unused variable warning
https://bugs.webkit.org/show_bug.cgi?id=222405
<rdar://problem/74769938>
Patch by Michael Catanzaro <mcatanz...@gnome.org> on 2021-03-01
* platform/NowPlayingManager.cpp:
(WebCore::NowPlayingManager::setNowPlayingInfo):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (273696 => 273697)
--- trunk/Source/WebCore/ChangeLog 2021-03-01 23:11:05 UTC (rev 273696)
+++ trunk/Source/WebCore/ChangeLog 2021-03-01 23:15:25 UTC (rev 273697)
@@ -1,3 +1,12 @@
+2021-03-01 Michael Catanzaro <mcatanz...@gnome.org>
+
+ Unreviewed, fix unused variable warning
+ https://bugs.webkit.org/show_bug.cgi?id=222405
+ <rdar://problem/74769938>
+
+ * platform/NowPlayingManager.cpp:
+ (WebCore::NowPlayingManager::setNowPlayingInfo):
+
2021-03-01 Chris Dumez <cdu...@apple.com>
Protect AudioWorkletGlobalScope::registerProcessor() against re-entry
Modified: trunk/Source/WebCore/platform/NowPlayingManager.cpp (273696 => 273697)
--- trunk/Source/WebCore/platform/NowPlayingManager.cpp 2021-03-01 23:11:05 UTC (rev 273696)
+++ trunk/Source/WebCore/platform/NowPlayingManager.cpp 2021-03-01 23:15:25 UTC (rev 273697)
@@ -64,7 +64,9 @@
m_remoteCommandListener->setSupportsSeeking(nowPlayingInfo.supportsSeeking);
m_client = makeWeakPtr(client);
+#if PLATFORM(COCOA)
bool wasPlaying = !!m_nowPlayingInfo;
+#endif
m_nowPlayingInfo = WTFMove(nowPlayingInfo);
#if PLATFORM(COCOA)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes