fix source

Signed-off-by: xhz-sz <xiehuandong@huawei.com>
This commit is contained in:
xhz-sz
2026-01-20 20:52:17 +08:00
parent b11e70566a
commit ae6d7de5d0
+1 -1
View File
@@ -980,9 +980,9 @@ void JsRuntime::InitSourceMap(const std::shared_ptr<JsEnv::SourceMapOperator> op
{
HITRACE_METER_NAME(HITRACE_TAG_APP, __PRETTY_FUNCTION__);
CHECK_POINTER(jsEnv_);
jsEnv_->InitSourceMap(operatorObj);
JsEnv::SourceMap::RegisterReadSourceMapCallback(JsRuntime::ReadSourceMapData);
JsEnv::SourceMap::RegisterGetHapPathCallback(JsModuleReader::GetHapPathList);
jsEnv_->InitSourceMap(operatorObj);
}
void JsRuntime::InitSourceMap(const std::string hqfFilePath)