summaryrefslogtreecommitdiffstats
path: root/webkit/glue/autofill_form.cc
diff options
context:
space:
mode:
authortc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-11 01:32:15 +0000
committertc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-11 01:32:15 +0000
commit5ba9007840a757c0df6a1d80b2dc2c0eb8540f31 (patch)
tree5fafee553fef63676c250824a050a1e983183a92 /webkit/glue/autofill_form.cc
parentf6f1ba3cfd72905cd900e6266589ccb4a1650cb0 (diff)
downloadchromium_src-5ba9007840a757c0df6a1d80b2dc2c0eb8540f31.zip
chromium_src-5ba9007840a757c0df6a1d80b2dc2c0eb8540f31.tar.gz
chromium_src-5ba9007840a757c0df6a1d80b2dc2c0eb8540f31.tar.bz2
* fix linux build
TBR=peterson Review URL: http://codereview.chromium.org/10287 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5156 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/autofill_form.cc')
-rw-r--r--webkit/glue/autofill_form.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/webkit/glue/autofill_form.cc b/webkit/glue/autofill_form.cc
index bb5f1da..e5a4c5c 100644
--- a/webkit/glue/autofill_form.cc
+++ b/webkit/glue/autofill_form.cc
@@ -56,8 +56,9 @@ AutofillForm* AutofillForm::CreateAutofillForm(
continue;
// For each TEXT input field, store the name and value
- std::wstring name = webkit_glue::StringToString16(input_element->name());
- std::wstring value = webkit_glue::StringToString16(input_element->value());
+ std::wstring name = webkit_glue::StringToStdWString(input_element->name());
+ std::wstring value = webkit_glue::StringToStdWString(
+ input_element->value());
result->elements.push_back(AutofillForm::Element(name, value));
}