mirror of
https://gitee.com/openharmony/arkui_ace_engine
synced 2024-11-30 10:43:03 +00:00
fix 错误使用了CHECK_NULL_VOID
Signed-off-by: zhoukechen <zhoukechen2@huawei.com> Change-Id: I83602b46f78e8bd151e16dfc17714be9a275ad17
This commit is contained in:
parent
64e9fc819b
commit
925262b426
@ -966,7 +966,7 @@ bool TextFieldPattern::GetEditingBoxModel() const
|
|||||||
{
|
{
|
||||||
bool isDeclarative = false;
|
bool isDeclarative = false;
|
||||||
auto host = GetHost();
|
auto host = GetHost();
|
||||||
CHECK_NULL_VOID(host);
|
CHECK_NULL_RETURN(host, false);
|
||||||
auto pipeline = host->GetContext();
|
auto pipeline = host->GetContext();
|
||||||
if (pipeline && pipeline->GetIsDeclarative()) {
|
if (pipeline && pipeline->GetIsDeclarative()) {
|
||||||
isDeclarative = true;
|
isDeclarative = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user