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

Unified Diff: content/renderer/media/media_stream_source_extra_data.h

Issue 16294003: Update content/ to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 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: content/renderer/media/media_stream_source_extra_data.h
diff --git a/content/renderer/media/media_stream_source_extra_data.h b/content/renderer/media/media_stream_source_extra_data.h
index 0294b91904da833aa9fff3e7aaf28e6635bf0fa9..c997832220ce1e89613b9092cb53cbc996e40c4b 100644
--- a/content/renderer/media/media_stream_source_extra_data.h
+++ b/content/renderer/media/media_stream_source_extra_data.h
@@ -46,10 +46,10 @@ class CONTENT_EXPORT MediaStreamSourceExtraData
// See |source_observer_|.
}
- webrtc::VideoSourceInterface* video_source() { return video_source_; }
- media::AudioCapturerSource* audio_source() { return audio_source_; }
+ webrtc::VideoSourceInterface* video_source() { return video_source_.get(); }
+ media::AudioCapturerSource* audio_source() { return audio_source_.get(); }
webrtc::AudioSourceInterface* local_audio_source() {
- return local_audio_source_;
+ return local_audio_source_.get();
}
private:
« no previous file with comments | « content/renderer/media/media_stream_impl_unittest.cc ('k') | content/renderer/media/media_stream_source_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698