Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(357)

Unified Diff: components/os_crypt/ie7_password_win.cc

Issue 1410333006: Enough hacks to make wstring printfs unneeded (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/os_crypt/ie7_password_win.cc
diff --git a/components/os_crypt/ie7_password_win.cc b/components/os_crypt/ie7_password_win.cc
index eebd57b37809cbb335092cf72d5de1ada7c521f1..699497c10c3e5854f6b904e3949abd0bae962b09 100644
--- a/components/os_crypt/ie7_password_win.cc
+++ b/components/os_crypt/ie7_password_win.cc
@@ -111,9 +111,9 @@ std::wstring GetUrlHash(const std::wstring& url) {
// check_sum.
unsigned char hash_byte = static_cast<unsigned char>(hash_bin[i]);
checksum += hash_byte;
- url_hash += base::StringPrintf(L"%2.2X", static_cast<unsigned>(hash_byte));
+ //url_hash += base::StringPrintf(L"%2.2X", static_cast<unsigned>(hash_byte));
}
- url_hash += base::StringPrintf(L"%2.2X", checksum);
+ //url_hash += base::StringPrintf(L"%2.2X", checksum);
return url_hash;
}

Powered by Google App Engine
This is Rietveld 408576698