Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1073)

Unified Diff: chrome/browser/renderer_host/render_view_host.cc

Issue 6312154: Remove wstring from RVH's run Javascript command.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/renderer_host/render_view_host.cc
===================================================================
--- chrome/browser/renderer_host/render_view_host.cc (revision 73855)
+++ chrome/browser/renderer_host/render_view_host.cc (working copy)
@@ -471,10 +471,9 @@
}
void RenderViewHost::ExecuteJavascriptInWebFrame(
- const std::wstring& frame_xpath,
- const std::wstring& jscript) {
- Send(new ViewMsg_ScriptEvalRequest(routing_id(), WideToUTF16(frame_xpath),
- WideToUTF16(jscript),
+ const string16& frame_xpath,
+ const string16& jscript) {
+ Send(new ViewMsg_ScriptEvalRequest(routing_id(), frame_xpath, jscript,
0, false));
}

Powered by Google App Engine
This is Rietveld 408576698