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

Unified Diff: third_party/WebKit/Source/platform/exported/WebMediaStreamTrack.cpp

Issue 2501623003: Implement MediaStreamTrack contentHint skeleton. (Closed)
Patch Set: rebase Created 4 years 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/exported/WebMediaStreamTrack.cpp
diff --git a/third_party/WebKit/Source/platform/exported/WebMediaStreamTrack.cpp b/third_party/WebKit/Source/platform/exported/WebMediaStreamTrack.cpp
index 29f27b7ddf4659ad913043afbf560b9e80627847..d2d1e0b3b52fe8e4684eb88a3ac42d7f5267b166 100644
--- a/third_party/WebKit/Source/platform/exported/WebMediaStreamTrack.cpp
+++ b/third_party/WebKit/Source/platform/exported/WebMediaStreamTrack.cpp
@@ -91,6 +91,11 @@ bool WebMediaStreamTrack::isMuted() const {
return m_private->muted();
}
+WebMediaStreamTrack::ContentHint WebMediaStreamTrack::contentHint() const {
+ DCHECK(!m_private.isNull());
+ return m_private->contentHint();
+}
+
WebString WebMediaStreamTrack::id() const {
ASSERT(!m_private.isNull());
return m_private->id();

Powered by Google App Engine
This is Rietveld 408576698