Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index a46f0233f383a67512f7ab008bc6192052c7ecfc..d3a180cee9d5a478797a72198bd81f3f75fbac28 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -198,7 +198,6 @@ class CallDepthScope { |
: isolate_(isolate), context_(context), escaped_(false) { |
// TODO(dcarney): remove this when blink stops crashing. |
DCHECK(!isolate_->external_caught_exception()); |
- isolate_->IncrementJsCallsFromApiCounter(); |
isolate_->handle_scope_implementer()->IncrementCallDepth(); |
if (!context.IsEmpty()) { |
i::Handle<i::Context> env = Utils::OpenHandle(*context); |