Index: webkit/glue/webframe_impl.cc |
diff --git a/webkit/glue/webframe_impl.cc b/webkit/glue/webframe_impl.cc |
index e8e009b9917fd2838aee616adbdb3721e6e7c2b3..a80a36c390ac248cf1324ff67b63dc50091f8f17 100644 |
--- a/webkit/glue/webframe_impl.cc |
+++ b/webkit/glue/webframe_impl.cc |
@@ -1552,11 +1552,12 @@ void WebFrameImpl::LoadAlternateHTMLErrorPage(const WebRequest* request, |
} |
void WebFrameImpl::ExecuteJavaScript(const std::string& js_code, |
- const GURL& script_url) { |
+ const GURL& script_url, |
+ int start_line) { |
WebCore::ScriptSourceCode source_code( |
webkit_glue::StdStringToString(js_code), |
webkit_glue::GURLToKURL(script_url), |
- 1); // base line number (for errors) |
+ start_line); |
frame_->loader()->executeScript(source_code); |
} |