diff options
-rw-r--r-- | webkit/glue/SConscript | 1 | ||||
-rw-r--r-- | webkit/glue/autofill_form.cc | 5 |
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)); } |