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

Unified Diff: ui/gl/gl_angle_util_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
« no previous file with comments | « ui/gfx/win/direct_write.cc ('k') | ui/views/accessibility/native_view_accessibility_win_unittest.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 6bd8faab0692c549bd6a6400a2a72136c2ace971..00cef7f8215288b8ebb83869bf448fe23cf49767 100644
--- a/ui/gl/gl_angle_util_win.cc
+++ b/ui/gl/gl_angle_util_win.cc
@@ -97,7 +97,7 @@ base::win::ScopedComPtr<IDCompositionDevice2> QueryDirectCompositionDevice(
if (!d3d11_device)
return dcomp_device;
- UINT data_size = sizeof(dcomp_device.get());
+ UINT data_size = sizeof(dcomp_device.Get());
HRESULT hr = d3d11_device->GetPrivateData(kDirectCompositionGUID, &data_size,
dcomp_device.ReceiveVoid());
if (SUCCEEDED(hr) && dcomp_device)
@@ -119,7 +119,7 @@ base::win::ScopedComPtr<IDCompositionDevice2> QueryDirectCompositionDevice(
base::win::ScopedComPtr<IDXGIDevice> dxgi_device;
d3d11_device.QueryInterface(dxgi_device.Receive());
base::win::ScopedComPtr<IDCompositionDesktopDevice> desktop_device;
- hr = create_device_function(dxgi_device.get(),
+ hr = create_device_function(dxgi_device.Get(),
IID_PPV_ARGS(desktop_device.Receive()));
if (FAILED(hr))
return dcomp_device;
@@ -127,7 +127,7 @@ base::win::ScopedComPtr<IDCompositionDevice2> QueryDirectCompositionDevice(
hr = desktop_device.QueryInterface(dcomp_device.Receive());
CHECK(SUCCEEDED(hr));
d3d11_device->SetPrivateDataInterface(kDirectCompositionGUID,
- dcomp_device.get());
+ dcomp_device.Get());
return dcomp_device;
}
« no previous file with comments | « ui/gfx/win/direct_write.cc ('k') | ui/views/accessibility/native_view_accessibility_win_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698