Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(145)

Unified Diff: third_party/WebKit/Source/modules/mediastream/MediaStreamEvent.cpp

Issue 2347103003: Implement the MediaStreamTrackEvent constructor (Closed)
Patch Set: update webexposed Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/mediastream/MediaStreamEvent.cpp
diff --git a/third_party/WebKit/Source/modules/mediastream/MediaStreamEvent.cpp b/third_party/WebKit/Source/modules/mediastream/MediaStreamEvent.cpp
index 342a4e5add76680b00f22ee47f379708ef752902..9973f486500b982f9fd55498d9d2cfa9c0134cf2 100644
--- a/third_party/WebKit/Source/modules/mediastream/MediaStreamEvent.cpp
+++ b/third_party/WebKit/Source/modules/mediastream/MediaStreamEvent.cpp
@@ -26,9 +26,9 @@
namespace blink {
-MediaStreamEvent* MediaStreamEvent::create(const AtomicString& type, bool canBubble, bool cancelable, MediaStream* stream)
+MediaStreamEvent* MediaStreamEvent::create(const AtomicString& type, MediaStream* stream)
{
- return new MediaStreamEvent(type, canBubble, cancelable, stream);
+ return new MediaStreamEvent(type, stream);
}
MediaStreamEvent* MediaStreamEvent::create(const AtomicString& type, const MediaStreamEventInit& initializer)
@@ -36,8 +36,8 @@ MediaStreamEvent* MediaStreamEvent::create(const AtomicString& type, const Media
return new MediaStreamEvent(type, initializer);
}
-MediaStreamEvent::MediaStreamEvent(const AtomicString& type, bool canBubble, bool cancelable, MediaStream* stream)
- : Event(type, canBubble, cancelable)
+MediaStreamEvent::MediaStreamEvent(const AtomicString& type, MediaStream* stream)
+ : Event(type, false, false)
, m_stream(stream)
{
}

Powered by Google App Engine
This is Rietveld 408576698