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:
parent
219b28bfe2
commit
a29b44e570
@ -721,7 +721,7 @@ class V8_EXPORT EmbedderGraph {
|
||||
* graph.
|
||||
*/
|
||||
enum class Detachedness : uint8_t {
|
||||
kUnkown = 0,
|
||||
kUnknown = 0,
|
||||
kAttached = 1,
|
||||
kDetached = 2,
|
||||
};
|
||||
@ -756,7 +756,7 @@ class V8_EXPORT EmbedderGraph {
|
||||
* along in the snapshot. Users of the snapshot may use it to annotate the
|
||||
* object graph.
|
||||
*/
|
||||
virtual Detachedness GetDetachedness() { return Detachedness::kUnkown; }
|
||||
virtual Detachedness GetDetachedness() { return Detachedness::kUnknown; }
|
||||
|
||||
Node(const Node&) = delete;
|
||||
Node& operator=(const Node&) = delete;
|
||||
|
@ -1964,7 +1964,7 @@ HeapEntry* NativeObjectsExplorer::EntryForEmbedderGraphNode(
|
||||
EmbedderGraphImpl::Node* wrapper = node->WrapperNode();
|
||||
NativeObject native_object = node->GetNativeObject();
|
||||
v8::EmbedderGraph::Node::Detachedness detachedness =
|
||||
v8::EmbedderGraph::Node::Detachedness::kUnkown;
|
||||
v8::EmbedderGraph::Node::Detachedness::kUnknown;
|
||||
if (wrapper) {
|
||||
detachedness = node->GetDetachedness();
|
||||
node = wrapper;
|
||||
|
Loading…
Reference in New Issue
Block a user