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; |
} |