Index: ui/gfx/win/direct_manipulation.cc |
diff --git a/ui/gfx/win/direct_manipulation.cc b/ui/gfx/win/direct_manipulation.cc |
index 7f6a0949f035b01ca9e6803e184537112d412af5..92f98982c52c9dce94a45ac6554807f49e17c3b5 100644 |
--- a/ui/gfx/win/direct_manipulation.cc |
+++ b/ui/gfx/win/direct_manipulation.cc |
@@ -40,7 +40,7 @@ void DirectManipulationHelper::Initialize(HWND window) { |
nullptr, CLSCTX_INPROC_SERVER); |
CHECK(SUCCEEDED(hr)); |
- hr = manager_->GetUpdateManager(IID_PPV_ARGS(update_manager_.Receive())); |
+ hr = manager_->GetUpdateManager(IID_PPV_ARGS(update_manager_.GetAddressOf())); |
CHECK(SUCCEEDED(hr)); |
hr = compositor_->SetUpdateManager(update_manager_.Get()); |
@@ -50,7 +50,7 @@ void DirectManipulationHelper::Initialize(HWND window) { |
CHECK(SUCCEEDED(hr)); |
hr = manager_->CreateViewport(frame_info_.Get(), window, |
- IID_PPV_ARGS(view_port_outer_.Receive())); |
+ IID_PPV_ARGS(view_port_outer_.GetAddressOf())); |
CHECK(SUCCEEDED(hr)); |
// |
@@ -74,7 +74,7 @@ void DirectManipulationHelper::SetBounds(const gfx::Rect& bounds) { |
base::win::ScopedComPtr<IDirectManipulationPrimaryContent> |
primary_content_outer; |
HRESULT hr = view_port_outer_->GetPrimaryContent( |
- IID_PPV_ARGS(primary_content_outer.Receive())); |
+ IID_PPV_ARGS(primary_content_outer.GetAddressOf())); |
CHECK(SUCCEEDED(hr)); |
base::win::ScopedComPtr<IDirectManipulationContent> content_outer; |