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 6636b310ec3c71d604f683c9c54db4a1b3632eb2..8368b4f7b9510a2fef0e673202e07673bcfdbc97 100644 |
--- a/chrome/browser/automation/testing_automation_provider.cc |
+++ b/chrome/browser/automation/testing_automation_provider.cc |
@@ -5194,7 +5194,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); |
} |