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

Unified Diff: third_party/WebKit/Source/platform/mediastream/MediaStreamDescriptor.h

Issue 2140133005: Remove MediaStream ended event from Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/platform/mediastream/MediaStreamDescriptor.h
diff --git a/third_party/WebKit/Source/platform/mediastream/MediaStreamDescriptor.h b/third_party/WebKit/Source/platform/mediastream/MediaStreamDescriptor.h
index fbbc8464067dd4418066ae8e6cb97e5f5072030e..481c152c68fdd6da105aaa7659ee910206d788af 100644
--- a/third_party/WebKit/Source/platform/mediastream/MediaStreamDescriptor.h
+++ b/third_party/WebKit/Source/platform/mediastream/MediaStreamDescriptor.h
@@ -86,9 +86,6 @@ public:
bool active() const { return m_active; }
void setActive(bool active) { m_active = active; }
- bool ended() const { return m_ended; }
- void setEnded() { m_ended = true; }
-
ExtraData* getExtraData() const { return m_extraData.get(); }
void setExtraData(std::unique_ptr<ExtraData> extraData) { m_extraData = std::move(extraData); }
@@ -106,7 +103,6 @@ private:
HeapVector<Member<MediaStreamComponent>> m_audioComponents;
HeapVector<Member<MediaStreamComponent>> m_videoComponents;
bool m_active;
- bool m_ended;
std::unique_ptr<ExtraData> m_extraData;
};

Powered by Google App Engine
This is Rietveld 408576698