Index: chrome/browser/automation/testing_automation_provider.cc |
diff --git a/chrome/browser/automation/testing_automation_provider.cc b/chrome/browser/automation/testing_automation_provider.cc |
index 8fb5618c8b64dce3c1e14f82a1e3831be0e16073..3626478f859e0c618041beb16aedbb454e4bde55 100644 |
--- a/chrome/browser/automation/testing_automation_provider.cc |
+++ b/chrome/browser/automation/testing_automation_provider.cc |
@@ -5094,7 +5094,7 @@ void TestingAutomationProvider::GetAppModalDialogMessage( |
return; |
} |
DictionaryValue result_dict; |
- result_dict.SetString("message", WideToUTF8(dialog->message_text())); |
+ result_dict.SetString("message", UTF16ToUTF8(dialog->message_text())); |
reply.SendSuccess(&result_dict); |
} |