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

Unified Diff: ui/gfx/win/direct_manipulation.cc

Issue 2870263002: Rename ScopedComPtr::Receive to ScopedComPtr::GetAddressOf (Closed)
Patch Set: Rebase to 2a6f440 Created 3 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
« no previous file with comments | « ui/gfx/platform_font_win.cc ('k') | ui/gfx/win/direct_write.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « ui/gfx/platform_font_win.cc ('k') | ui/gfx/win/direct_write.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698