Index: base/win/scoped_comptr_unittest.cc |
diff --git a/base/win/scoped_comptr_unittest.cc b/base/win/scoped_comptr_unittest.cc |
index 0d486bd35ab1727279be4967364042459640ab00..2493433ab0b96b6f8a6c9905ce4c4d6f74140cb4 100644 |
--- a/base/win/scoped_comptr_unittest.cc |
+++ b/base/win/scoped_comptr_unittest.cc |
@@ -46,7 +46,7 @@ TEST(ScopedComPtrTest, ScopedComPtr) { |
EXPECT_TRUE(unk2.Get() != NULL); |
ScopedComPtr<IMalloc> mem_alloc; |
- EXPECT_TRUE(SUCCEEDED(CoGetMalloc(1, mem_alloc.Receive()))); |
+ EXPECT_TRUE(SUCCEEDED(CoGetMalloc(1, mem_alloc.GetAddressOf()))); |
ScopedComPtr<IUnknown> qi_test; |
EXPECT_HRESULT_SUCCEEDED(mem_alloc.CopyTo(IID_PPV_ARGS(&qi_test))); |