Title: [190763] trunk/Source/WebCore
- Revision
- 190763
- Author
- [email protected]
- Date
- 2015-10-08 17:47:47 -0700 (Thu, 08 Oct 2015)
Log Message
Unreviewed, build fix for ENABLE(MEDIA_SESSION) after r190030.
* dom/Document.cpp:
(WebCore::Document::updateIsPlayingMedia):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (190762 => 190763)
--- trunk/Source/WebCore/ChangeLog 2015-10-09 00:31:03 UTC (rev 190762)
+++ trunk/Source/WebCore/ChangeLog 2015-10-09 00:47:47 UTC (rev 190763)
@@ -1,5 +1,12 @@
2015-10-08 Chris Dumez <[email protected]>
+ Unreviewed, build fix for ENABLE(MEDIA_SESSION) after r190030.
+
+ * dom/Document.cpp:
+ (WebCore::Document::updateIsPlayingMedia):
+
+2015-10-08 Chris Dumez <[email protected]>
+
Unreviewed, build fixes for ENABLE(MEDIA_SESSION) after r190030.
* Modules/mediasession/HTMLMediaElementMediaSession.cpp:
Modified: trunk/Source/WebCore/dom/Document.cpp (190762 => 190763)
--- trunk/Source/WebCore/dom/Document.cpp 2015-10-09 00:31:03 UTC (rev 190762)
+++ trunk/Source/WebCore/dom/Document.cpp 2015-10-09 00:47:47 UTC (rev 190763)
@@ -3553,9 +3553,8 @@
if (sourceElement->isPlaying())
state |= MediaProducer::IsSourceElementPlaying;
- if (MediaSession* session = sourceElement->session()) {
- bool isNull;
- if (MediaRemoteControls* controls = session->controls(isNull)) {
+ if (auto* session = sourceElement->session()) {
+ if (auto* controls = session->controls()) {
if (controls->previousTrackEnabled())
state |= MediaProducer::IsPreviousTrackControlEnabled;
if (controls->nextTrackEnabled())
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes