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

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

Issue 552653005: Oilpan: Move MediaStreamSource, MediaStreamComponent and MediaStreamDescriptor to oilpan's heap (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
« no previous file with comments | « Source/platform/exported/WebMediaStream.cpp ('k') | Source/platform/exported/WebMediaStreamTrack.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/exported/WebMediaStreamSource.cpp
diff --git a/Source/platform/exported/WebMediaStreamSource.cpp b/Source/platform/exported/WebMediaStreamSource.cpp
index b7db6a8ce7676c1f1502df418629f08667fc7a4a..cb486372a9a099b78c8f449ca6a5ecfbe597dd57 100644
--- a/Source/platform/exported/WebMediaStreamSource.cpp
+++ b/Source/platform/exported/WebMediaStreamSource.cpp
@@ -69,7 +69,7 @@ void WebMediaStreamSource::ExtraData::setOwner(MediaStreamSource* owner)
m_owner = owner;
}
-WebMediaStreamSource::WebMediaStreamSource(const PassRefPtr<MediaStreamSource>& mediaStreamSource)
+WebMediaStreamSource::WebMediaStreamSource(MediaStreamSource* mediaStreamSource)
: m_private(mediaStreamSource)
{
}
@@ -90,11 +90,6 @@ void WebMediaStreamSource::reset()
m_private.reset();
}
-WebMediaStreamSource::operator PassRefPtr<MediaStreamSource>() const
-{
- return m_private.get();
-}
-
WebMediaStreamSource::operator MediaStreamSource*() const
{
return m_private.get();
« no previous file with comments | « Source/platform/exported/WebMediaStream.cpp ('k') | Source/platform/exported/WebMediaStreamTrack.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698