| Index: src/runtime/runtime-observe.cc
|
| diff --git a/src/runtime/runtime-observe.cc b/src/runtime/runtime-observe.cc
|
| index 211922c5b78fad1bcc73f6f4804b676fd62ca0e9..a942645236f76e59e9e5be95aa09f3b815f560f0 100644
|
| --- a/src/runtime/runtime-observe.cc
|
| +++ b/src/runtime/runtime-observe.cc
|
| @@ -88,8 +88,9 @@ RUNTIME_FUNCTION(Runtime_DeliverObservationChangeRecords) {
|
|
|
|
|
| RUNTIME_FUNCTION(Runtime_GetObservationState) {
|
| - SealHandleScope shs(isolate);
|
| + HandleScope scope(isolate);
|
| DCHECK(args.length() == 0);
|
| + isolate->CountUsage(v8::Isolate::kObjectObserve);
|
| return isolate->heap()->observation_state();
|
| }
|
|
|
|
|