| Index: net/http/http_auth_sspi_win.cc
|
| diff --git a/net/http/http_auth_sspi_win.cc b/net/http/http_auth_sspi_win.cc
|
| index 66038d122d64b684131278dca7ecc40424ea15cd..156a55f7ed87d1df4ff6562558aa7837dccc07e7 100644
|
| --- a/net/http/http_auth_sspi_win.cc
|
| +++ b/net/http/http_auth_sspi_win.cc
|
| @@ -360,11 +360,11 @@ int HttpAuthSSPI::GetNextSecurityToken(
|
|
|
| // This returns a token that is passed to the remote server.
|
| DWORD context_attribute;
|
| - std::wstring spn_wide = base::ASCIIToWide(spn);
|
| + base::string16 spn16 = base::ASCIIToUTF16(spn);
|
| SECURITY_STATUS status = library_->InitializeSecurityContext(
|
| &cred_, // phCredential
|
| ctxt_ptr, // phContext
|
| - const_cast<wchar_t *>(spn_wide.c_str()), // pszTargetName
|
| + const_cast<base::char16*>(spn16.c_str()), // pszTargetName
|
| context_flags, // fContextReq
|
| 0, // Reserved1 (must be 0)
|
| SECURITY_NATIVE_DREP, // TargetDataRep
|
|
|