Index: gpu/ipc/service/direct_composition_surface_win_unittest.cc |
diff --git a/gpu/ipc/service/direct_composition_surface_win_unittest.cc b/gpu/ipc/service/direct_composition_surface_win_unittest.cc |
index f1e824a29ee3abb0904003e9aed5766e65d96a83..fe1d83c520e1df0e8eac9a5aac102dd0487897a4 100644 |
--- a/gpu/ipc/service/direct_composition_surface_win_unittest.cc |
+++ b/gpu/ipc/service/direct_composition_surface_win_unittest.cc |
@@ -121,7 +121,8 @@ base::win::ScopedComPtr<ID3D11Texture2D> CreateNV12Texture( |
data.SysMemPitch = size.width(); |
base::win::ScopedComPtr<ID3D11Texture2D> texture; |
- HRESULT hr = d3d11_device->CreateTexture2D(&desc, &data, texture.Receive()); |
+ HRESULT hr = |
+ d3d11_device->CreateTexture2D(&desc, &data, texture.GetAddressOf()); |
CHECK(SUCCEEDED(hr)); |
return texture; |
} |