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

Unified Diff: chrome_frame/urlmon_bind_status_callback.cc

Issue 112433004: Update uses of UTF conversions in chrome_frame/, chromeos/, components/ to use the base:: namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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
« no previous file with comments | « chrome_frame/test_utils.cc ('k') | chrome_frame/urlmon_moniker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/urlmon_bind_status_callback.cc
diff --git a/chrome_frame/urlmon_bind_status_callback.cc b/chrome_frame/urlmon_bind_status_callback.cc
index 056ea5ec21057f919bc6c5dc7455028bc4bd8989..6001538a1b75c87b7549dfc9d591e5b3b4acde2a 100644
--- a/chrome_frame/urlmon_bind_status_callback.cc
+++ b/chrome_frame/urlmon_bind_status_callback.cc
@@ -183,7 +183,8 @@ void SniffData::DetermineRendererType(bool last_chance) {
std::wstring html_contents;
// TODO(joshia): detect and handle different content encodings
if (buffer && size_) {
- UTF8ToWide(buffer, std::min(size_, kMaxSniffSize), &html_contents);
+ base::UTF8ToWide(buffer, std::min(size_, kMaxSniffSize),
+ &html_contents);
GlobalUnlock(memory);
}
« no previous file with comments | « chrome_frame/test_utils.cc ('k') | chrome_frame/urlmon_moniker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698