summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/automation
diff options
context:
space:
mode:
authorscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-20 02:56:56 +0000
committerscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-20 02:56:56 +0000
commite7b660ddd5dfa2b76796419f213d9f00d20b8e8f (patch)
tree6e2b95fc557d1ae71db92015fa08ed9129ff96a2 /chrome/renderer/automation
parentbc2af34f7b605082d26ba5e724b540b93d84c8f1 (diff)
downloadchromium_src-e7b660ddd5dfa2b76796419f213d9f00d20b8e8f.zip
chromium_src-e7b660ddd5dfa2b76796419f213d9f00d20b8e8f.tar.gz
chromium_src-e7b660ddd5dfa2b76796419f213d9f00d20b8e8f.tar.bz2
Changed DomAutomationController to use UTF-8 strings.
Review URL: http://codereview.chromium.org/15071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7340 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/automation')
-rw-r--r--chrome/renderer/automation/dom_automation_controller.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/renderer/automation/dom_automation_controller.cc b/chrome/renderer/automation/dom_automation_controller.cc
index 805ef6e..ba06b28 100644
--- a/chrome/renderer/automation/dom_automation_controller.cc
+++ b/chrome/renderer/automation/dom_automation_controller.cc
@@ -41,7 +41,7 @@ void DomAutomationController::send(const CppArgumentList& args,
// grabbing the 0th element to get the value out.
switch(args[0].type) {
case NPVariantType_String: {
- value = Value::CreateStringValue(UTF8ToWide(args[0].ToString()));
+ value = Value::CreateStringValue(args[0].ToString());
break;
}
case NPVariantType_Bool: {