diff --git a/engine/src/flutter/lib/ui/semantics/semantics_node.cc b/engine/src/flutter/lib/ui/semantics/semantics_node.cc index fd44758aa3..7b591d8f6d 100644 --- a/engine/src/flutter/lib/ui/semantics/semantics_node.cc +++ b/engine/src/flutter/lib/ui/semantics/semantics_node.cc @@ -8,7 +8,7 @@ namespace blink { -constexpr int32_t kMinPlatfromViewId = -1; +constexpr int32_t kMinPlatformViewId = -1; SemanticsNode::SemanticsNode() = default; @@ -25,7 +25,7 @@ bool SemanticsNode::HasFlag(SemanticsFlags flag) { } bool SemanticsNode::IsPlatformViewNode() const { - return platformViewId > kMinPlatfromViewId; + return platformViewId > kMinPlatformViewId; } } // namespace blink diff --git a/engine/src/flutter/lib/ui/semantics/semantics_node.h b/engine/src/flutter/lib/ui/semantics/semantics_node.h index 6d570b42c7..e45a8ef4ca 100644 --- a/engine/src/flutter/lib/ui/semantics/semantics_node.h +++ b/engine/src/flutter/lib/ui/semantics/semantics_node.h @@ -81,7 +81,7 @@ struct SemanticsNode { bool HasAction(SemanticsAction action); bool HasFlag(SemanticsFlags flag); - // Whether this node is for embeded platform views. + // Whether this node is for embedded platform views. bool IsPlatformViewNode() const; int32_t id = 0;