Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 6cb6b9ebdf23310d22c8d99568805204d31726de..3be18bfff04692c0dee955498572e468d562ac4d 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -6349,32 +6349,6 @@ void V8::SetCaptureStackTraceForUncaughtExceptions( |
} |
-void V8::SetCounterFunction(CounterLookupCallback callback) { |
- i::Isolate* isolate = i::Isolate::UncheckedCurrent(); |
- // TODO(svenpanne) The Isolate should really be a parameter. |
- if (isolate == NULL) return; |
- isolate->stats_table()->SetCounterFunction(callback); |
-} |
- |
- |
-void V8::SetCreateHistogramFunction(CreateHistogramCallback callback) { |
- i::Isolate* isolate = i::Isolate::UncheckedCurrent(); |
- // TODO(svenpanne) The Isolate should really be a parameter. |
- if (isolate == NULL) return; |
- isolate->stats_table()->SetCreateHistogramFunction(callback); |
- isolate->InitializeLoggingAndCounters(); |
- isolate->counters()->ResetHistograms(); |
-} |
- |
- |
-void V8::SetAddHistogramSampleFunction(AddHistogramSampleCallback callback) { |
- i::Isolate* isolate = i::Isolate::UncheckedCurrent(); |
- // TODO(svenpanne) The Isolate should really be a parameter. |
- if (isolate == NULL) return; |
- isolate->stats_table()-> |
- SetAddHistogramSampleFunction(callback); |
-} |
- |
void V8::SetFailedAccessCheckCallbackFunction( |
FailedAccessCheckCallback callback) { |
i::Isolate* isolate = i::Isolate::Current(); |