Skip to content

Commit c0e924b

Browse files
committed
fix unfinished rename
1 parent 11efdd1 commit c0e924b

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/node_worker.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -906,7 +906,7 @@ void Worker::LoopStartTime(const FunctionCallbackInfo<Value>& args) {
906906
args.GetReturnValue().Set(loop_start_time / 1e6);
907907
}
908908

909-
void Worker::HasHooksThreadAlready(const FunctionCallbackInfo<Value>& args) {
909+
void Worker::HasHooksThread(const FunctionCallbackInfo<Value>& args) {
910910
args.GetReturnValue().Set(Worker::internalExists);
911911
}
912912

@@ -1019,7 +1019,7 @@ void RegisterExternalReferences(ExternalReferenceRegistry* registry) {
10191019
registry->Register(Worker::TakeHeapSnapshot);
10201020
registry->Register(Worker::LoopIdleTime);
10211021
registry->Register(Worker::LoopStartTime);
1022-
registry->Register(Worker::HasHooksThreadAlready);
1022+
registry->Register(Worker::HasHooksThread);
10231023
}
10241024

10251025
} // anonymous namespace

src/node_worker.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ class Worker : public AsyncWrap {
7777
static void TakeHeapSnapshot(const v8::FunctionCallbackInfo<v8::Value>& args);
7878
static void LoopIdleTime(const v8::FunctionCallbackInfo<v8::Value>& args);
7979
static void LoopStartTime(const v8::FunctionCallbackInfo<v8::Value>& args);
80-
static void HasHooksThreadAlready(const v8::FunctionCallbackInfo<v8::Value>& args);
80+
static void HasHooksThread(const v8::FunctionCallbackInfo<v8::Value>& args);
8181

8282
private:
8383
bool CreateEnvMessagePort(Environment* env);

0 commit comments

Comments
 (0)