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

Unified Diff: media/video/capture/win/sink_filter_win.cc

Issue 754473004: Remove implicit conversion from scoped_refptr<T> to T* in media (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/video/capture/win/sink_filter_win.cc
diff --git a/media/video/capture/win/sink_filter_win.cc b/media/video/capture/win/sink_filter_win.cc
index 8e9c941f6eee52ac32efcd5288ff24f772a594e5..ce31f1ae757992ad5cfe80b0fdc800b0bb7165a5 100644
--- a/media/video/capture/win/sink_filter_win.cc
+++ b/media/video/capture/win/sink_filter_win.cc
@@ -48,7 +48,7 @@ size_t SinkFilter::NoOfPins() {
}
IPin* SinkFilter::GetPin(int index) {
- return index == 0 ? input_pin_ : NULL;
+ return index == 0 ? input_pin_.get() : NULL;
}
STDMETHODIMP SinkFilter::GetClassID(CLSID* clsid) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698