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

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

Issue 2425703002: Remove |remote| and |readonly| members of MediaStreamTrack (Closed)
Patch Set: Fixed webkit_tests Created 3 years, 10 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/exported/WebMediaStreamSource.cpp
diff --git a/third_party/WebKit/Source/platform/exported/WebMediaStreamSource.cpp b/third_party/WebKit/Source/platform/exported/WebMediaStreamSource.cpp
index 65681024471e81f1e044491a2166a7a7282e23d8..56e5e5a700545a3c0899526c25890e62a626dacc 100644
--- a/third_party/WebKit/Source/platform/exported/WebMediaStreamSource.cpp
+++ b/third_party/WebKit/Source/platform/exported/WebMediaStreamSource.cpp
@@ -91,15 +91,7 @@ void WebMediaStreamSource::initialize(const WebString& id,
Type type,
const WebString& name) {
m_private = MediaStreamSource::create(
- id, static_cast<MediaStreamSource::StreamType>(type), name, false);
-}
-
-void WebMediaStreamSource::initialize(const WebString& id,
- Type type,
- const WebString& name,
- bool remote) {
- m_private = MediaStreamSource::create(
- id, static_cast<MediaStreamSource::StreamType>(type), name, remote);
+ id, static_cast<MediaStreamSource::StreamType>(type), name);
}
WebString WebMediaStreamSource::id() const {
@@ -117,11 +109,6 @@ WebString WebMediaStreamSource::name() const {
return m_private.get()->name();
}
-bool WebMediaStreamSource::remote() const {
- ASSERT(!m_private.isNull());
- return m_private.get()->remote();
-}
-
void WebMediaStreamSource::setReadyState(ReadyState state) {
ASSERT(!m_private.isNull());
m_private->setReadyState(static_cast<MediaStreamSource::ReadyState>(state));

Powered by Google App Engine
This is Rietveld 408576698