Index: chrome/renderer/render_view_unittest.cc |
diff --git a/chrome/renderer/render_view_unittest.cc b/chrome/renderer/render_view_unittest.cc |
index 71ab2e2faba42776f98f72323be251ff07bbe107..2477c9342b434ce4711f514d5fc997f3c3b508b8 100644 |
--- a/chrome/renderer/render_view_unittest.cc |
+++ b/chrome/renderer/render_view_unittest.cc |
@@ -36,7 +36,9 @@ class RenderViewTest : public testing::Test { |
// Executes the given JavaScript in the context of the main frame. The input |
// is a NULL-terminated UTF-8 string. |
void ExecuteJavaScript(const char* js) { |
- GetMainFrame()->ExecuteJavaScript(js, GURL()); |
+ GetMainFrame()->ExecuteJavaScript(js, |
+ GURL(), // script url |
+ 1); // base line number |
} |
// Loads the given HTML into the main frame as a data: URL. |