update adapter/ohos/osal/js_accessibility_manager.cpp.

Signed-off-by: 屠吉人 <tujiren@huawei.com>
This commit is contained in:
屠吉人 2024-11-04 13:33:07 +00:00 committed by Gitee
parent 01e6b3f1f6
commit 695c32553c
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -2680,7 +2680,7 @@ void JsAccessibilityManager::SendWebAccessibilityAsyncEvent(
if (windowId == 0) {
return;
}
AccessibilityEventInfo eventInfo;
RefPtr<NG::PipelineContext> ngPipeline = AceType::DynamicCast<NG::PipelineContext>(context_.Upgrade());
CHECK_NULL_VOID(ngPipeline);