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

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

Issue 6274: Greasemonkey support. (Closed)
Patch Set: Created 12 years, 2 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
diff --git a/chrome/browser/dom_ui/dom_ui_host.cc b/chrome/browser/dom_ui/dom_ui_host.cc
index 2541e7166325e0db2b11b68f21ef8d8b6780be6c..6e389d4ec2b3e972e55c1ac3abd3f1c6bd13f02d 100644
--- a/chrome/browser/dom_ui/dom_ui_host.cc
+++ b/chrome/browser/dom_ui/dom_ui_host.cc
@@ -111,7 +111,6 @@ void DOMUIHost::ExecuteJavascript(const std::wstring& javascript) {
// URL is interpreted, it will be unescaped.
std::wstring escaped_js(javascript);
ReplaceSubstringsAfterOffset(&escaped_js, 0, L"%", L"%25");
- render_view_host()->ExecuteJavascriptInWebFrame(std::wstring(),
- L"javascript:" + escaped_js);
+ render_view_host()->ExecuteJavascriptInWebFrame(std::wstring(), L"javascript:" + escaped_js, L"");
}

Powered by Google App Engine
This is Rietveld 408576698