Fix typos (flutter/engine#8339)
Courtesy of google's "CommonTypos" analysis.
This commit is contained in:
committed by
GitHub
parent
39fb01b459
commit
e6c3046fcb
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user