From cb2cbf2eca3523c9276e61ecfda4b5f958794a59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Jos=C3=A9=20Arboleda?= Date: Sun, 24 Feb 2019 15:18:26 -0500 Subject: [PATCH] src: remove already elevated Isolate namespce MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/26294 Reviewed-By: Michaƫl Zasso Reviewed-By: Anna Henningsen Reviewed-By: Colin Ihrig Reviewed-By: James M Snell Reviewed-By: Luigi Pinca --- src/node_platform.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/node_platform.cc b/src/node_platform.cc index 139e2ebfc1f5ec..da28de0a844929 100644 --- a/src/node_platform.cc +++ b/src/node_platform.cc @@ -223,7 +223,7 @@ int WorkerThreadsTaskRunner::NumberOfWorkerThreads() const { } PerIsolatePlatformData::PerIsolatePlatformData( - v8::Isolate* isolate, uv_loop_t* loop) + Isolate* isolate, uv_loop_t* loop) : loop_(loop) { flush_tasks_ = new uv_async_t(); CHECK_EQ(0, uv_async_init(loop, flush_tasks_, FlushTasks)); @@ -434,11 +434,11 @@ void NodePlatform::CallDelayedOnForegroundThread(Isolate* isolate, std::unique_ptr(task), delay_in_seconds); } -bool NodePlatform::FlushForegroundTasks(v8::Isolate* isolate) { +bool NodePlatform::FlushForegroundTasks(Isolate* isolate) { return ForIsolate(isolate)->FlushForegroundTasksInternal(); } -void NodePlatform::CancelPendingDelayedTasks(v8::Isolate* isolate) { +void NodePlatform::CancelPendingDelayedTasks(Isolate* isolate) { ForIsolate(isolate)->CancelPendingDelayedTasks(); }