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

Unified Diff: components/autofill/core/browser/autofill_field.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
Index: components/autofill/core/browser/autofill_field.cc
diff --git a/components/autofill/core/browser/autofill_field.cc b/components/autofill/core/browser/autofill_field.cc
index 4323e8fca96941e8af768e73fb526c2b0c789e31..1a1ba6a64e81e7781481e982304869d586269acc 100644
--- a/components/autofill/core/browser/autofill_field.cc
+++ b/components/autofill/core/browser/autofill_field.cc
@@ -17,6 +17,7 @@
#include "grit/component_strings.h"
#include "ui/base/l10n/l10n_util.h"
+using base::ASCIIToUTF16;
using base::StringToInt;
namespace autofill {
@@ -378,7 +379,7 @@ bool AutofillField::IsEmpty() const {
}
std::string AutofillField::FieldSignature() const {
- std::string field_name = UTF16ToUTF8(name);
+ std::string field_name = base::UTF16ToUTF8(name);
std::string field_string = field_name + "&" + form_control_type;
return Hash32Bit(field_string);
}

Powered by Google App Engine
This is Rietveld 408576698