Index: chrome/browser/automation/testing_automation_provider.cc |
=================================================================== |
--- chrome/browser/automation/testing_automation_provider.cc (revision 184354) |
+++ chrome/browser/automation/testing_automation_provider.cc (working copy) |
@@ -989,7 +989,7 @@ |
NavigationController* tab = tab_tracker_->GetResource(handle); |
NavigationEntry* entry = tab->GetActiveEntry(); |
if (entry != NULL) { |
- *title = base::UTF16ToWideHack(entry->GetTitleForDisplay("")); |
+ *title = UTF16ToWideHack(entry->GetTitleForDisplay("")); |
} else { |
*title = std::wstring(); |
} |
@@ -1050,9 +1050,8 @@ |
} |
new DomOperationMessageSender(this, reply_message, false); |
- ExecuteJavascriptInRenderViewFrame(base::WideToUTF16Hack(frame_xpath), |
- base::WideToUTF16Hack(script), |
- reply_message, |
+ ExecuteJavascriptInRenderViewFrame(WideToUTF16Hack(frame_xpath), |
+ WideToUTF16Hack(script), reply_message, |
web_contents->GetRenderViewHost()); |
} |