| Index: src/d8.cc
|
| diff --git a/src/d8.cc b/src/d8.cc
|
| index 4ab7af6d2c7fedd22e61b098b0d2038285d0f3d2..4f75a20c9fde691c38fad63f6f51cc2fe9207d23 100644
|
| --- a/src/d8.cc
|
| +++ b/src/d8.cc
|
| @@ -227,7 +227,6 @@ static Local<Value> Throw(Isolate* isolate, const char* message) {
|
| .ToLocalChecked());
|
| }
|
|
|
| -
|
| Worker* GetWorkerFromInternalField(Isolate* isolate, Local<Object> object) {
|
| if (object->InternalFieldCount() != 1) {
|
| Throw(isolate, "this is not a Worker");
|
| @@ -1148,7 +1147,7 @@ void Shell::WorkerNew(const v8::FunctionCallbackInfo<v8::Value>& args) {
|
| return;
|
| }
|
|
|
| - // Initialize the internal field to NULL; if we return early without
|
| + // Initialize the embedder field to NULL; if we return early without
|
| // creating a new Worker (because the main thread is terminating) we can
|
| // early-out from the instance calls.
|
| args.Holder()->SetAlignedPointerInInternalField(0, NULL);
|
|
|