未验证 提交 c047b948 编写于 作者: C Chris Bracken 提交者: GitHub

Correct an inverted null pointer check (#25828)

In unmarkText, we want to prevent dereferencing _activeModel if it's
null.
上级 230ad13e
......@@ -414,7 +414,7 @@ static flutter::TextRange RangeFromBaseExtent(NSNumber* base,
}
- (void)unmarkText {
if (_activeModel != nullptr) {
if (_activeModel == nullptr) {
return;
}
_activeModel->CommitComposing();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册