Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 52e25b21b917c63736e88a5eaf005b3f332016bb..20e5856ed9242c448c103f77ab11a0db3e479a55 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -8690,7 +8690,7 @@ void Isolate::SetUseCounterCallback(UseCounterCallback callback) { |
void Isolate::SetCounterFunction(CounterLookupCallback callback) { |
i::Isolate* isolate = reinterpret_cast<i::Isolate*>(this); |
- isolate->stats_table()->SetCounterFunction(callback, isolate); |
+ isolate->stats_table()->SetCounterFunction(callback); |
} |