Index: src/extensions/statistics-extension.cc |
diff --git a/src/extensions/statistics-extension.cc b/src/extensions/statistics-extension.cc |
index 92d152d0de7f4ab1d14b43223ffdc85f4eb6db70..767c9e79ffca5339ef14e69524b7d4ddd50519b3 100644 |
--- a/src/extensions/statistics-extension.cc |
+++ b/src/extensions/statistics-extension.cc |
@@ -38,7 +38,7 @@ v8::Handle<v8::FunctionTemplate> StatisticsExtension::GetNativeFunctionTemplate( |
v8::Isolate* isolate, |
v8::Handle<v8::String> str) { |
ASSERT(strcmp(*v8::String::Utf8Value(str), "getV8Statistics") == 0); |
- return v8::FunctionTemplate::New(StatisticsExtension::GetCounters); |
+ return v8::FunctionTemplate::New(isolate, StatisticsExtension::GetCounters); |
} |