diff options
Diffstat (limited to 'chrome/browser/debugger/debugger_view.cc')
-rw-r--r-- | chrome/browser/debugger/debugger_view.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/debugger/debugger_view.cc b/chrome/browser/debugger/debugger_view.cc index 89cb4e8..127c987 100644 --- a/chrome/browser/debugger/debugger_view.cc +++ b/chrome/browser/debugger/debugger_view.cc @@ -132,9 +132,8 @@ void DebuggerView::OpenURLFromTab(TabContents* source, } void DebuggerView::ExecuteJavascript(const std::string& js) { - const std::string url = StringPrintf("javascript:void(%s)", js.c_str()); web_contents_->render_view_host()->ExecuteJavascriptInWebFrame(L"", - UTF8ToWide(url)); + UTF8ToWide(js)); } void DebuggerView::LoadingStateChanged(TabContents* source) { |