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

Unified Diff: ui/gl/gl_angle_util_win.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/win/direct_write.cc ('k') | ui/shell_dialogs/select_file_dialog_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_angle_util_win.cc
diff --git a/ui/gl/gl_angle_util_win.cc b/ui/gl/gl_angle_util_win.cc
index 29d8dcfe5be3ff3bf47fb22d919920804929bd33..45e37ab423baa9cf828eb030d301137c4d9eb174 100644
--- a/ui/gl/gl_angle_util_win.cc
+++ b/ui/gl/gl_angle_util_win.cc
@@ -119,14 +119,14 @@ base::win::ScopedComPtr<IDCompositionDevice2> QueryDirectCompositionDevice(
return dcomp_device;
base::win::ScopedComPtr<IDXGIDevice> dxgi_device;
- d3d11_device.CopyTo(dxgi_device.Receive());
+ d3d11_device.CopyTo(dxgi_device.GetAddressOf());
base::win::ScopedComPtr<IDCompositionDesktopDevice> desktop_device;
hr = create_device_function(dxgi_device.Get(),
- IID_PPV_ARGS(desktop_device.Receive()));
+ IID_PPV_ARGS(desktop_device.GetAddressOf()));
if (FAILED(hr))
return dcomp_device;
- hr = desktop_device.CopyTo(dcomp_device.Receive());
+ hr = desktop_device.CopyTo(dcomp_device.GetAddressOf());
CHECK(SUCCEEDED(hr));
d3d11_device->SetPrivateDataInterface(kDirectCompositionGUID,
dcomp_device.Get());
« no previous file with comments | « ui/gfx/win/direct_write.cc ('k') | ui/shell_dialogs/select_file_dialog_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698