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

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

Issue 1915793002: Remove a |readonly| member of MediaStreamTrack (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove a |readonly| argument in unittest files Created 4 years, 7 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 30a0c582102deaa4ec67869945269fc9f13bd38d..59996c8b01ffa4cf8faff8865f807d09b7ccd33f 100644
--- a/third_party/WebKit/Source/platform/exported/WebMediaStreamSource.cpp
+++ b/third_party/WebKit/Source/platform/exported/WebMediaStreamSource.cpp
@@ -94,12 +94,12 @@ WebMediaStreamSource::operator MediaStreamSource*() const
void WebMediaStreamSource::initialize(const WebString& id, Type type, const WebString& name)
{
- m_private = MediaStreamSource::create(id, static_cast<MediaStreamSource::StreamType>(type), name, false, true);
+ 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, bool readonly)
+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, readonly);
+ m_private = MediaStreamSource::create(id, static_cast<MediaStreamSource::StreamType>(type), name, remote);
}
WebString WebMediaStreamSource::id() const

Powered by Google App Engine
This is Rietveld 408576698