[Extensions] Remove unused version of ScriptContext::CallFunction()

ScriptContext::CallFunction() is deprecated. Remove an unused override
of the function.

BUG=629431

Review-Url: https://codereview.chromium.org/2435873004
Cr-Commit-Position: refs/heads/master@{#427457}
diff --git a/extensions/renderer/script_context.h b/extensions/renderer/script_context.h
index ae06dfc..197ed3a1 100644
--- a/extensions/renderer/script_context.h
+++ b/extensions/renderer/script_context.h
@@ -108,18 +108,15 @@
   // the context is in the process of being destroyed.
   content::RenderFrame* GetRenderFrame() const;
 
-  // Runs |function| with appropriate scopes. Doesn't catch exceptions, callers
-  // must do that if they want.
-  //
-  // USE THIS METHOD RATHER THAN v8::Function::Call WHEREVER POSSIBLE.
+  // DEPRECATED.
   v8::Local<v8::Value> CallFunction(const v8::Local<v8::Function>& function,
                                     int argc,
                                     v8::Local<v8::Value> argv[]) const;
-  v8::Local<v8::Value> CallFunction(
-      const v8::Local<v8::Function>& function) const;
 
   // Safely calls the v8::Function, respecting the page load deferrer and
   // possibly executing asynchronously.
+  // Doesn't catch exceptions; callers must do that if they want.
+  // USE THIS METHOD RATHER THAN v8::Function::Call WHEREVER POSSIBLE.
   // TODO(devlin): Remove the above variants in favor of this.
   void SafeCallFunction(const v8::Local<v8::Function>& function,
                         int argc,