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

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

Issue 2824773002: Rename ScopedComPtr::get() to ScopedComPtr::Get() (Closed)
Patch Set: Update to 5293966 Created 3 years, 8 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: media/capture/video/win/pin_base_win.cc
diff --git a/media/capture/video/win/pin_base_win.cc b/media/capture/video/win/pin_base_win.cc
index 349ce26b472ae237cf012620e2ef53e191d63394..855c613a98f95cfc10555db11c5fecfddbd4829e 100644
--- a/media/capture/video/win/pin_base_win.cc
+++ b/media/capture/video/win/pin_base_win.cc
@@ -144,7 +144,7 @@ STDMETHODIMP PinBase::ReceiveConnection(IPin* connector,
}
STDMETHODIMP PinBase::Disconnect() {
- if (!connected_pin_.get())
+ if (!connected_pin_.Get())
return S_FALSE;
connected_pin_.Reset();
@@ -152,16 +152,16 @@ STDMETHODIMP PinBase::Disconnect() {
}
STDMETHODIMP PinBase::ConnectedTo(IPin** pin) {
- *pin = connected_pin_.get();
- if (!connected_pin_.get())
+ *pin = connected_pin_.Get();
+ if (!connected_pin_.Get())
return VFW_E_NOT_CONNECTED;
- connected_pin_.get()->AddRef();
+ connected_pin_.Get()->AddRef();
return S_OK;
}
STDMETHODIMP PinBase::ConnectionMediaType(AM_MEDIA_TYPE* media_type) {
- if (!connected_pin_.get())
+ if (!connected_pin_.Get())
return VFW_E_NOT_CONNECTED;
*media_type = current_media_type_;
return S_OK;
« no previous file with comments | « media/capture/video/win/filter_base_win.cc ('k') | media/capture/video/win/video_capture_device_factory_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698