Index: net/http/url_security_manager_win.cc |
diff --git a/net/http/url_security_manager_win.cc b/net/http/url_security_manager_win.cc |
index d56a1b871040d7a3f098f733a48b9735fd9dc9c5..4460366b4e843015f9cd42be4c0522313d45fee4 100644 |
--- a/net/http/url_security_manager_win.cc |
+++ b/net/http/url_security_manager_win.cc |
@@ -104,9 +104,8 @@ bool URLSecurityManagerWin::CanUseDefaultCredentials( |
bool URLSecurityManagerWin::EnsureSystemSecurityManager() { |
if (!security_manager_.Get()) { |
- HRESULT hr = CoInternetCreateSecurityManager(NULL, |
- security_manager_.Receive(), |
- NULL); |
+ HRESULT hr = CoInternetCreateSecurityManager( |
+ NULL, security_manager_.GetAddressOf(), NULL); |
if (FAILED(hr) || !security_manager_.Get()) { |
LOG(ERROR) << "Unable to create the Windows Security Manager instance"; |
return false; |