Index: net/url_request/url_request_unittest.cc |
diff --git a/net/url_request/url_request_unittest.cc b/net/url_request/url_request_unittest.cc |
index 25b603b268beb6504e9f5974a0a0d170824bbfd3..ebfe6653f31ae21a406f978ee7f3624f602e850f 100644 |
--- a/net/url_request/url_request_unittest.cc |
+++ b/net/url_request/url_request_unittest.cc |
@@ -1271,7 +1271,7 @@ TEST_F(URLRequestTest, ResolveShortcutTest) { |
ASSERT_TRUE(SUCCEEDED(shell.CreateInstance(CLSID_ShellLink, NULL, |
CLSCTX_INPROC_SERVER))); |
base::win::ScopedComPtr<IPersistFile> persist; |
- ASSERT_TRUE(SUCCEEDED(shell.CopyTo(persist.Receive()))); |
+ ASSERT_TRUE(SUCCEEDED(shell.CopyTo(persist.GetAddressOf()))); |
EXPECT_TRUE(SUCCEEDED(shell->SetPath(app_path.value().c_str()))); |
EXPECT_TRUE(SUCCEEDED(shell->SetDescription(L"ResolveShortcutTest"))); |
EXPECT_TRUE(SUCCEEDED(persist->Save(lnk_path.c_str(), TRUE))); |