summaryrefslogtreecommitdiffstats
path: root/webkit
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
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')
-rw-r--r--webkit/glue/SConscript1
-rw-r--r--webkit/glue/autofill_form.cc5
2 files changed, 4 insertions, 2 deletions
diff --git a/webkit/glue/SConscript b/webkit/glue/SConscript
index 96a34ff..ffbcda5 100644
--- a/webkit/glue/SConscript
+++ b/webkit/glue/SConscript
@@ -21,6 +21,7 @@ input_files = [
'alt_404_page_resource_fetcher.cc',
'alt_error_page_resource_fetcher.cc',
'autocomplete_input_listener.cc',
+ 'autofill_form.cc',
'cache_manager.cc',
'chrome_client_impl.cc',
'chromium_bridge_impl.cc',
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));
}