summaryrefslogtreecommitdiffstats
path: root/chrome/browser
diff options
context:
space:
mode:
authorscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-19 01:01:33 +0000
committerscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-19 01:01:33 +0000
commit330c8156279b9d60e1924d03556bfba7d62494f4 (patch)
tree4251ce8fc391c582788a9a42ca1283595d10ffae /chrome/browser
parenta3a1d14240d6e41a0b6732ebcd3600399c64b26a (diff)
downloadchromium_src-330c8156279b9d60e1924d03556bfba7d62494f4.zip
chromium_src-330c8156279b9d60e1924d03556bfba7d62494f4.tar.gz
chromium_src-330c8156279b9d60e1924d03556bfba7d62494f4.tar.bz2
Updated HtmlDialogContents to use UTF-8 strings.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7282 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
-rw-r--r--chrome/browser/dom_ui/html_dialog_contents.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/dom_ui/html_dialog_contents.cc b/chrome/browser/dom_ui/html_dialog_contents.cc
index 50dbc0c..0b4a7a9 100644
--- a/chrome/browser/dom_ui/html_dialog_contents.cc
+++ b/chrome/browser/dom_ui/html_dialog_contents.cc
@@ -60,14 +60,14 @@ std::string GetJsonResponse(const Value* content) {
return "";
}
- std::wstring result;
+ std::string result;
Value* value = NULL;
if (!args->Get(0, &value) || !value->GetAsString(&result)) {
NOTREACHED();
return "";
}
- return WideToASCII(result);
+ return result;
}
void HtmlDialogContents::OnDialogClosed(const Value* content) {