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

Unified Diff: chrome/browser/dom_ui/dom_ui_host.cc

Issue 4088: Move a bunch of stuff out of WebContents. I removed a bunch of render view ho... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 3 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/dom_ui/dom_ui_host.cc
===================================================================
--- chrome/browser/dom_ui/dom_ui_host.cc (revision 2568)
+++ chrome/browser/dom_ui/dom_ui_host.cc (working copy)
@@ -111,6 +111,7 @@
// URL is interpreted, it will be unescaped.
std::wstring escaped_js(javascript);
ReplaceSubstringsAfterOffset(&escaped_js, 0, L"%", L"%25");
- ExecuteJavascriptInWebFrame(L"", L"javascript:" + escaped_js);
+ render_view_host()->ExecuteJavascriptInWebFrame(std::wstring(),
+ L"javascript:" + escaped_js);
}

Powered by Google App Engine
This is Rietveld 408576698