diff options
Diffstat (limited to 'chrome/renderer/render_view.cc')
-rw-r--r-- | chrome/renderer/render_view.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/renderer/render_view.cc b/chrome/renderer/render_view.cc index 7c85b65..9927171 100644 --- a/chrome/renderer/render_view.cc +++ b/chrome/renderer/render_view.cc @@ -2414,7 +2414,9 @@ void RenderView::EvaluateScript(const std::wstring& frame_xpath, if (!web_frame) return; - web_frame->ExecuteJavaScript(WideToUTF8(script), GURL()); + web_frame->ExecuteJavaScript(WideToUTF8(script), + GURL(), // script url + 1); // base line number } void RenderView::OnScriptEvalRequest(const std::wstring& frame_xpath, |