| 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 db5620ffa76f084ff819f36b75c0d89bd26f4bc8..557636642dcda686b21ab05a187a6b24f8ffaece 100644
|
| --- a/net/http/url_security_manager_win.cc
|
| +++ b/net/http/url_security_manager_win.cc
|
| @@ -111,11 +111,11 @@ bool URLSecurityManagerWin::CanDelegate(const GURL& auth_origin) const {
|
| }
|
|
|
| bool URLSecurityManagerWin::EnsureSystemSecurityManager() {
|
| - if (!security_manager_) {
|
| + if (!security_manager_.get()) {
|
| HRESULT hr = CoInternetCreateSecurityManager(NULL,
|
| security_manager_.Receive(),
|
| NULL);
|
| - if (FAILED(hr) || !security_manager_) {
|
| + if (FAILED(hr) || !security_manager_.get()) {
|
| LOG(ERROR) << "Unable to create the Windows Security Manager instance";
|
| return false;
|
| }
|
|
|