| Index: include/v8.h
|
| diff --git a/include/v8.h b/include/v8.h
|
| index ce5eff642ad06b36e2c8473aa4fefd4bffe0f696..fcc98943f78bb361cbfd7a98d35c47106d5d7a16 100644
|
| --- a/include/v8.h
|
| +++ b/include/v8.h
|
| @@ -3589,7 +3589,7 @@ class V8_EXPORT ArrayBuffer : public Object {
|
| /**
|
| * Make this ArrayBuffer external. The pointer to underlying memory block
|
| * and byte length are returned as |Contents| structure. After ArrayBuffer
|
| - * had been etxrenalized, it does no longer owns the memory block. The caller
|
| + * had been externalized, it does no longer own the memory block. The caller
|
| * should take steps to free memory when it is no longer needed.
|
| *
|
| * The memory block is guaranteed to be allocated with |Allocator::Allocate|
|
| @@ -3600,7 +3600,7 @@ class V8_EXPORT ArrayBuffer : public Object {
|
| /**
|
| * Get a pointer to the ArrayBuffer's underlying memory block without
|
| * externalizing it. If the ArrayBuffer is not externalized, this pointer
|
| - * will become invalid as soon as the ArrayBuffer became garbage collected.
|
| + * will become invalid as soon as the ArrayBuffer gets garbage collected.
|
| *
|
| * The embedder should make sure to hold a strong reference to the
|
| * ArrayBuffer while accessing this pointer.
|
| @@ -3652,7 +3652,7 @@ class V8_EXPORT ArrayBufferView : public Object {
|
| * might incur.
|
| *
|
| * Will write at most min(|byte_length|, ByteLength) bytes starting at
|
| - * ByteOffset of the underling buffer to the memory starting at |dest|.
|
| + * ByteOffset of the underlying buffer to the memory starting at |dest|.
|
| * Returns the number of bytes actually written.
|
| */
|
| size_t CopyContents(void* dest, size_t byte_length);
|
| @@ -3939,7 +3939,7 @@ class V8_EXPORT SharedArrayBuffer : public Object {
|
| /**
|
| * Make this SharedArrayBuffer external. The pointer to underlying memory
|
| * block and byte length are returned as |Contents| structure. After
|
| - * SharedArrayBuffer had been etxrenalized, it does no longer owns the memory
|
| + * SharedArrayBuffer had been externalized, it does no longer own the memory
|
| * block. The caller should take steps to free memory when it is no longer
|
| * needed.
|
| *
|
| @@ -4402,7 +4402,7 @@ typedef bool (*AccessCheckCallback)(Local<Context> accessing_context,
|
| * preferred.
|
| *
|
| * Any modification of a FunctionTemplate after first instantiation will trigger
|
| - *a crash.
|
| + * a crash.
|
| *
|
| * A FunctionTemplate can have properties, these properties are added to the
|
| * function object when it is created.
|
| @@ -7227,7 +7227,7 @@ class V8_EXPORT Context {
|
|
|
| /**
|
| * Gets a 2-byte-aligned native pointer from the embedder data with the given
|
| - * index, which must have bees set by a previous call to
|
| + * index, which must have been set by a previous call to
|
| * SetAlignedPointerInEmbedderData with the same index. Note that index 0
|
| * currently has a special meaning for Chrome's debugger.
|
| */
|
| @@ -7307,7 +7307,7 @@ class V8_EXPORT Context {
|
| * It is up to the user of V8 to ensure, perhaps with locking, that this
|
| * constraint is not violated. In addition to any other synchronization
|
| * mechanism that may be used, the v8::Locker and v8::Unlocker classes must be
|
| - * used to signal thead switches to V8.
|
| + * used to signal thread switches to V8.
|
| *
|
| * v8::Locker is a scoped lock object. While it's active, i.e. between its
|
| * construction and destruction, the current thread is allowed to use the locked
|
|
|