From e6c3046fcbff2f4a65d0d6f1c40054cbc4269f5d Mon Sep 17 00:00:00 2001 From: Michael Goderbauer Date: Fri, 29 Mar 2019 17:47:55 -0700 Subject: [PATCH] Fix typos (flutter/engine#8339) Courtesy of google's "CommonTypos" analysis. --- engine/src/flutter/lib/ui/semantics/semantics_node.cc | 4 ++-- engine/src/flutter/lib/ui/semantics/semantics_node.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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;