diff --git a/src/node_platform.cc b/src/node_platform.cc index f6c122991ff967..6e1d040bc2437b 100644 --- a/src/node_platform.cc +++ b/src/node_platform.cc @@ -217,7 +217,7 @@ size_t BackgroundTaskRunner::NumberOfAvailableBackgroundThreads() 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)); @@ -425,11 +425,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(); }