summaryrefslogtreecommitdiffstats
path: root/webkit/glue
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/glue')
-rw-r--r--webkit/glue/searchable_form_data.cc3
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) {