| 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 b1af9f2ca8a73834526cfa14a16dd17b459b8cff..1c37f6a15f8262f8d0d85fb323d5ec9445c30716 100644
|
| --- a/chrome/browser/automation/testing_automation_provider.cc
|
| +++ b/chrome/browser/automation/testing_automation_provider.cc
|
| @@ -989,7 +989,7 @@ void TestingAutomationProvider::GetTabTitle(int handle,
|
| NavigationController* tab = tab_tracker_->GetResource(handle);
|
| NavigationEntry* entry = tab->GetActiveEntry();
|
| if (entry != NULL) {
|
| - *title = UTF16ToWideHack(entry->GetTitleForDisplay(""));
|
| + *title = base::UTF16ToWideHack(entry->GetTitleForDisplay(""));
|
| } else {
|
| *title = std::wstring();
|
| }
|
| @@ -1050,8 +1050,9 @@ void TestingAutomationProvider::ExecuteJavascript(
|
| }
|
|
|
| new DomOperationMessageSender(this, reply_message, false);
|
| - ExecuteJavascriptInRenderViewFrame(WideToUTF16Hack(frame_xpath),
|
| - WideToUTF16Hack(script), reply_message,
|
| + ExecuteJavascriptInRenderViewFrame(base::WideToUTF16Hack(frame_xpath),
|
| + base::WideToUTF16Hack(script),
|
| + reply_message,
|
| web_contents->GetRenderViewHost());
|
| }
|
|
|
|
|