Minor typos in v8.h code documentation.

When reading through the source code (v8.h) I found some minor typos
which I wanted to report.

BUG=

Review-Url: https://codereview.chromium.org/2130513002
Cr-Commit-Position: refs/heads/master@{#37835}
This commit is contained in:
daniel.bevenius 2016-07-18 05:36:51 -07:00 committed by Commit bot
parent 3cd82879e6
commit d52b403f51

View File

@ -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.
@ -7259,7 +7259,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.
*/
@ -7339,7 +7339,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