summaryrefslogtreecommitdiffstats
path: root/chrome/browser/automation
diff options
context:
space:
mode:
authorviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-19 01:11:08 +0000
committerviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-19 01:11:08 +0000
commit41b5c204db5ff79d4db69c9b5872bc0dd653a17c (patch)
treeb0f600a599efe0f0aa88f8f22b95dcab5f41cfe0 /chrome/browser/automation
parent4d5c2759df4a0654c23c076363baec477100e6d6 (diff)
downloadchromium_src-41b5c204db5ff79d4db69c9b5872bc0dd653a17c.zip
chromium_src-41b5c204db5ff79d4db69c9b5872bc0dd653a17c.tar.gz
chromium_src-41b5c204db5ff79d4db69c9b5872bc0dd653a17c.tar.bz2
Convert a couple of wstring methods in ChildProcessInfo.
(The underlying data still needs to be converted.) BUG=23581 TEST=builds and passes tests Review URL: http://codereview.chromium.org/3133023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56628 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/automation')
-rw-r--r--chrome/browser/automation/automation_provider.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/automation/automation_provider.cc b/chrome/browser/automation/automation_provider.cc
index b841434..1f00aee 100644
--- a/chrome/browser/automation/automation_provider.cc
+++ b/chrome/browser/automation/automation_provider.cc
@@ -1850,8 +1850,7 @@ class GetChildProcessHostInfoTask : public Task {
DictionaryValue* item = new DictionaryValue;
item->SetString("name", WideToUTF16Hack(info->name()));
item->SetString("type",
- WideToUTF16Hack(ChildProcessInfo::GetTypeNameInEnglish(
- info->type())));
+ ChildProcessInfo::GetTypeNameInEnglish(info->type()));
item->SetInteger("pid", base::GetProcId(info->handle()));
child_processes_->Append(item);
}