Index: Source/modules/mediastream/MediaStreamEvent.cpp |
diff --git a/Source/modules/mediastream/MediaStreamEvent.cpp b/Source/modules/mediastream/MediaStreamEvent.cpp |
index 11211e4507574b559671f1cb2a7d27d17eb6973d..0b97418f722819799ea02371b599218365226afd 100644 |
--- a/Source/modules/mediastream/MediaStreamEvent.cpp |
+++ b/Source/modules/mediastream/MediaStreamEvent.cpp |
@@ -77,6 +77,12 @@ MediaStream* MediaStreamEvent::stream() const |
return m_stream.get(); |
} |
+MediaStream* MediaStreamEvent::stream(bool& isNull) const |
+{ |
+ isNull = !m_stream; |
+ return m_stream.get(); |
+} |
+ |
const AtomicString& MediaStreamEvent::interfaceName() const |
{ |
return EventNames::MediaStreamEvent; |