| 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 4e2d938963eeeeafea4418832a537c76e36003f3..f595f2abc056aeb34ace306afbaf4bd0ca5c7cb5 100644
|
| --- a/net/http/url_security_manager_win.cc
|
| +++ b/net/http/url_security_manager_win.cc
|
| @@ -59,8 +59,11 @@ bool URLSecurityManagerWin::CanUseDefaultCredentials(
|
| hr = security_manager_->ProcessUrlAction(url_w.c_str(),
|
| URLACTION_CREDENTIALS_USE,
|
| reinterpret_cast<BYTE*>(&policy),
|
| - sizeof(policy), NULL, 0,
|
| - PUAF_NOUI, 0);
|
| + sizeof(policy),
|
| + NULL,
|
| + 0,
|
| + PUAF_NOUI,
|
| + 0);
|
| if (FAILED(hr)) {
|
| LOG(ERROR) << "IInternetSecurityManager::ProcessUrlAction failed: " << hr;
|
| return false;
|
| @@ -112,9 +115,8 @@ bool URLSecurityManagerWin::CanDelegate(const GURL& auth_origin) const {
|
|
|
| bool URLSecurityManagerWin::EnsureSystemSecurityManager() {
|
| if (!security_manager_) {
|
| - HRESULT hr = CoInternetCreateSecurityManager(NULL,
|
| - security_manager_.Receive(),
|
| - NULL);
|
| + HRESULT hr = CoInternetCreateSecurityManager(
|
| + NULL, security_manager_.Receive(), NULL);
|
| if (FAILED(hr) || !security_manager_) {
|
| LOG(ERROR) << "Unable to create the Windows Security Manager instance";
|
| return false;
|
|
|