diff --git a/src/base_object.h b/src/base_object.h index 5ea2ea57d874f5..105114caf4459a 100644 --- a/src/base_object.h +++ b/src/base_object.h @@ -111,13 +111,13 @@ class BaseObject : public MemoryRetainer { // the current object: // - kUntransferable: // No transfer is possible, either because this type of BaseObject does - // not know how to be transfered, or because it is not in a state in + // not know how to be transferred, or because it is not in a state in // which it is possible to do so (e.g. because it has already been - // transfered). + // transferred). // - kTransferable: - // This object can be transfered in a destructive fashion, i.e. will be + // This object can be transferred in a destructive fashion, i.e. will be // rendered unusable on the sending side of the channel in the process - // of being transfered. (In C++ this would be referred to as movable but + // of being transferred. (In C++ this would be referred to as movable but // not copyable.) Objects of this type need to be listed in the // `transferList` argument of the relevant postMessage() call in order to // make sure that they are not accidentally destroyed on the sending side. diff --git a/src/node_messaging.h b/src/node_messaging.h index 378468b6f44465..34215349343722 100644 --- a/src/node_messaging.h +++ b/src/node_messaging.h @@ -16,7 +16,7 @@ class MessagePort; typedef MaybeStackBuffer, 8> TransferList; // Used to represent the in-flight structure of an object that is being -// transfered or cloned using postMessage(). +// transferred or cloned using postMessage(). class TransferData : public MemoryRetainer { public: // Deserialize this object on the receiving end after a .postMessage() call.