Index: test/inspector/inspector-test.cc |
diff --git a/test/inspector/inspector-test.cc b/test/inspector/inspector-test.cc |
index df6732a780ad99dc2424c6c0619e23a99c82e548..817f3d6418185755dffca1a81d217736a4d73528 100644 |
--- a/test/inspector/inspector-test.cc |
+++ b/test/inspector/inspector-test.cc |
@@ -343,11 +343,7 @@ class SetTimeoutTask : public AsyncTask { |
v8::Local<v8::Function> function = function_.Get(isolate); |
v8::MaybeLocal<v8::Value> result; |
- v8_inspector::V8Inspector* inspector = |
- InspectorClientImpl::InspectorFromContext(context); |
- if (inspector) inspector->willExecuteScript(context, function->ScriptId()); |
result = function->Call(context, context->Global(), 0, nullptr); |
- if (inspector) inspector->didExecuteScript(context); |
} |
private: |