Index: net/http/http_auth_handler_ntlm_portable.cc |
diff --git a/net/http/http_auth_handler_ntlm_portable.cc b/net/http/http_auth_handler_ntlm_portable.cc |
index 4c64597fe704369047efc5db231f887cd7bcd3a9..dfa85f24ee93e6ee6ebd8a3c136565bbbc5420d7 100644 |
--- a/net/http/http_auth_handler_ntlm_portable.cc |
+++ b/net/http/http_auth_handler_ntlm_portable.cc |
@@ -220,9 +220,8 @@ static void* WriteUnicodeLE(void* buf, |
const uint8_t* input = reinterpret_cast<const uint8_t*>(str); |
for (uint32_t i = 0; i < str_len; ++i, input += 2, cursor += 2) { |
// Allow for the case where |buf == str|. |
- uint8_t temp = input[0]; |
cursor[0] = input[1]; |
- cursor[1] = temp; |
+ cursor[1] = input[0]; |
} |
return buf; |
} |