diff --git a/lib/ui/semantics/semantics_node.cc b/lib/ui/semantics/semantics_node.cc index fd44758aa31a94be08057854beece6acba0d8ddf..7b591d8f6d4f7d7ec73b816d05f506a0920860b0 100644 --- a/lib/ui/semantics/semantics_node.cc +++ b/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/lib/ui/semantics/semantics_node.h b/lib/ui/semantics/semantics_node.h index 6d570b42c75a93f04dbf4ef11a530ba25d4c9b9b..e45a8ef4cac5d0895f82f9d7219db403f14b192f 100644 --- a/lib/ui/semantics/semantics_node.h +++ b/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;