File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -111,13 +111,13 @@ class BaseObject : public MemoryRetainer {
111111  //  the current object:
112112  //  - kUntransferable:
113113  //      No transfer is possible, either because this type of BaseObject does
114-   //      not know how to be transfered , or because it is not in a state in
114+   //      not know how to be transferred , or because it is not in a state in
115115  //      which it is possible to do so (e.g. because it has already been
116-   //      transfered ).
116+   //      transferred ).
117117  //  - kTransferable:
118-   //      This object can be transfered  in a destructive fashion, i.e. will be
118+   //      This object can be transferred  in a destructive fashion, i.e. will be
119119  //      rendered unusable on the sending side of the channel in the process
120-   //      of being transfered . (In C++ this would be referred to as movable but
120+   //      of being transferred . (In C++ this would be referred to as movable but
121121  //      not copyable.) Objects of this type need to be listed in the
122122  //      `transferList` argument of the relevant postMessage() call in order to
123123  //      make sure that they are not accidentally destroyed on the sending side.
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ class MessagePort;
1616typedef  MaybeStackBuffer<v8::Local<v8::Value>, 8 > TransferList;
1717
1818//  Used to represent the in-flight structure of an object that is being
19- //  transfered  or cloned using postMessage().
19+ //  transferred  or cloned using postMessage().
2020class  TransferData  : public  MemoryRetainer  {
2121 public: 
2222  //  Deserialize this object on the receiving end after a .postMessage() call.
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments