Title: [225830] trunk/Source/WebCore
- Revision
- 225830
- Author
- mcatanz...@igalia.com
- Date
- 2017-12-12 17:57:45 -0800 (Tue, 12 Dec 2017)
Log Message
Unreviewed, fix !ENABLE(MEDIA_STREAM) build after r225822
https://bugs.webkit.org/show_bug.cgi?id=180666
<rdar://problem/36008948>
* html/HTMLMediaElement.cpp:
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (225829 => 225830)
--- trunk/Source/WebCore/ChangeLog 2017-12-13 01:54:26 UTC (rev 225829)
+++ trunk/Source/WebCore/ChangeLog 2017-12-13 01:57:45 UTC (rev 225830)
@@ -1,3 +1,11 @@
+2017-12-12 Michael Catanzaro <mcatanz...@igalia.com>
+
+ Unreviewed, fix !ENABLE(MEDIA_STREAM) build after r225822
+ https://bugs.webkit.org/show_bug.cgi?id=180666
+ <rdar://problem/36008948>
+
+ * html/HTMLMediaElement.cpp:
+
2017-12-12 Alex Christensen <achristen...@webkit.org>
Fix possible out-of-bounds read in protocolIsInHTTPFamily
Modified: trunk/Source/WebCore/html/HTMLMediaElement.cpp (225829 => 225830)
--- trunk/Source/WebCore/html/HTMLMediaElement.cpp 2017-12-13 01:54:26 UTC (rev 225829)
+++ trunk/Source/WebCore/html/HTMLMediaElement.cpp 2017-12-13 01:57:45 UTC (rev 225830)
@@ -6613,11 +6613,13 @@
m_player->setShouldDisableSleep(shouldDisableSleep == SleepType::Display);
}
+#if ENABLE(MEDIA_STREAM)
static inline bool isRemoteMediaStreamVideoTrack(RefPtr<MediaStreamTrack>& item)
{
auto* track = item.get();
return track->privateTrack().type() == RealtimeMediaSource::Type::Video && !track->isCaptureTrack() && !track->isCanvas();
}
+#endif
HTMLMediaElement::SleepType HTMLMediaElement::shouldDisableSleep() const
{
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes