api: Fix Detachedness typo

kUnkown -> kUnknown

Bug: chromium:1110816
Change-Id: I8138df76ade7f2a78632e329682cca83c64edac8
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2407776
Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
Auto-Submit: Michael Lippautz <mlippautz@chromium.org>
Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#69875}
This commit is contained in:
Michael Lippautz 2020-09-14 12:56:38 +02:00 committed by Commit Bot
parent 219b28bfe2
commit a29b44e570
2 changed files with 3 additions and 3 deletions

View File

@ -721,7 +721,7 @@ class V8_EXPORT EmbedderGraph {
* graph. * graph.
*/ */
enum class Detachedness : uint8_t { enum class Detachedness : uint8_t {
kUnkown = 0, kUnknown = 0,
kAttached = 1, kAttached = 1,
kDetached = 2, kDetached = 2,
}; };
@ -756,7 +756,7 @@ class V8_EXPORT EmbedderGraph {
* along in the snapshot. Users of the snapshot may use it to annotate the * along in the snapshot. Users of the snapshot may use it to annotate the
* object graph. * object graph.
*/ */
virtual Detachedness GetDetachedness() { return Detachedness::kUnkown; } virtual Detachedness GetDetachedness() { return Detachedness::kUnknown; }
Node(const Node&) = delete; Node(const Node&) = delete;
Node& operator=(const Node&) = delete; Node& operator=(const Node&) = delete;

View File

@ -1964,7 +1964,7 @@ HeapEntry* NativeObjectsExplorer::EntryForEmbedderGraphNode(
EmbedderGraphImpl::Node* wrapper = node->WrapperNode(); EmbedderGraphImpl::Node* wrapper = node->WrapperNode();
NativeObject native_object = node->GetNativeObject(); NativeObject native_object = node->GetNativeObject();
v8::EmbedderGraph::Node::Detachedness detachedness = v8::EmbedderGraph::Node::Detachedness detachedness =
v8::EmbedderGraph::Node::Detachedness::kUnkown; v8::EmbedderGraph::Node::Detachedness::kUnknown;
if (wrapper) { if (wrapper) {
detachedness = node->GetDetachedness(); detachedness = node->GetDetachedness();
node = wrapper; node = wrapper;