src: remove already elevated Isolate namespce

PR-URL: https://github.com/nodejs/node/pull/26294
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
Juan José Arboleda authored and Ruben Bridgewater committed 2019-03-04 15:32:59 +01:00
1 parent 2438a4350d
commit cb2cbf2eca
1 file changed
+3 -3
+3 -3
View File
@@ -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>(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();
}