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

Unified Diff: content/renderer/media/video_source_handler.cc

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/video_source_handler.cc
diff --git a/content/renderer/media/video_source_handler.cc b/content/renderer/media/video_source_handler.cc
index 07f48b39459585d1a25b439a82bb651a51b1caa8..8748dee4582b918a60847f4f1322c5ad8c57e321 100644
--- a/content/renderer/media/video_source_handler.cc
+++ b/content/renderer/media/video_source_handler.cc
@@ -122,7 +122,7 @@ scoped_refptr<VideoSourceInterface> VideoSourceHandler::GetFirstVideoSource(
LOG(ERROR) << "GetFirstVideoSource - MediaStreamExtraData is NULL.";
return source;
}
- webrtc::MediaStreamInterface* native_stream = extra_data->stream();
+ webrtc::MediaStreamInterface* native_stream = extra_data->stream().get();
if (!native_stream) {
LOG(ERROR) << "GetFirstVideoSource - native stream is NULL.";
return source;
« no previous file with comments | « content/renderer/media/video_destination_handler_unittest.cc ('k') | content/renderer/media/webrtc_audio_capturer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698