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

Unified Diff: gpu/ipc/service/direct_composition_surface_win_unittest.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 | « gpu/ipc/service/direct_composition_surface_win.cc ('k') | media/audio/win/audio_low_latency_input_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « gpu/ipc/service/direct_composition_surface_win.cc ('k') | media/audio/win/audio_low_latency_input_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698