Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(184)

Unified Diff: extensions/renderer/script_context.cc

Issue 2435873004: [Extensions] Remove unused version of ScriptContext::CallFunction() (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « extensions/renderer/script_context.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/renderer/script_context.cc
diff --git a/extensions/renderer/script_context.cc b/extensions/renderer/script_context.cc
index c377b1c32f4cf66bb619f97121a46a6fa4b0f840..9fb03163d607e7d1051e88401fe7f8dc0301414a 100644
--- a/extensions/renderer/script_context.cc
+++ b/extensions/renderer/script_context.cc
@@ -219,12 +219,6 @@ void ScriptContext::SafeCallFunction(const v8::Local<v8::Function>& function,
}
}
-v8::Local<v8::Value> ScriptContext::CallFunction(
- const v8::Local<v8::Function>& function) const {
- DCHECK(thread_checker_.CalledOnValidThread());
- return CallFunction(function, 0, nullptr);
-}
-
Feature::Availability ScriptContext::GetAvailability(
const std::string& api_name) {
DCHECK(thread_checker_.CalledOnValidThread());
« no previous file with comments | « extensions/renderer/script_context.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698