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""); |
} |