diff options
author | pinkerton@google.com <pinkerton@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-26 20:30:15 +0000 |
---|---|---|
committer | pinkerton@google.com <pinkerton@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-26 20:30:15 +0000 |
commit | 9a364db375dc41b53f71b91feec21079768d4cf4 (patch) | |
tree | 8453b75d3114711f1e653e328531fad6a6e643de /webkit/glue/searchable_form_data.cc | |
parent | 3f2663b6812fa4eccd8b42353646e5d0d2d7cc1d (diff) | |
download | chromium_src-9a364db375dc41b53f71b91feec21079768d4cf4.zip chromium_src-9a364db375dc41b53f71b91feec21079768d4cf4.tar.gz chromium_src-9a364db375dc41b53f71b91feec21079768d4cf4.tar.bz2 |
Use appropriate string conversion on |url_|.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1401 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/searchable_form_data.cc')
-rw-r--r-- | webkit/glue/searchable_form_data.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/webkit/glue/searchable_form_data.cc b/webkit/glue/searchable_form_data.cc index e126b7a..f7eaf4b 100644 --- a/webkit/glue/searchable_form_data.cc +++ b/webkit/glue/searchable_form_data.cc @@ -27,6 +27,7 @@ #undef LOG #include "base/basictypes.h" +#include "base/string_util.h" #include "webkit/glue/dom_operations.h" #include "webkit/glue/glue_util.h" #include "webkit/glue/searchable_form_data.h" @@ -388,7 +389,7 @@ SearchableFormData::SearchableFormData(const std::wstring& url, const std::wstring& element_name, const std::wstring& element_value, const std::string& encoding) - : url_(url), + : url_(WideToUTF16(url)), element_name_(element_name), element_value_(element_value), encoding_(encoding) { |