static void reconnectToWorkerContextInspectorTask(ScriptExecutionContext* context, const String& savedState) { ASSERT(context->isWorkerContext()); WorkerInspectorController* ic = static_cast<WorkerContext*>(context)->workerInspectorController(); ic->restoreInspectorStateFromCookie(savedState); ic->resume(); }
static void reconnectToWorkerContextInspectorTask(ExecutionContext* context, const String& savedState) { WorkerInspectorController* ic = toWorkerGlobalScope(context)->workerInspectorController(); ic->restoreInspectorStateFromCookie(savedState); ic->resume(); }