Skip to content

Commit

Permalink
feat(ohos): refactor devtool snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
zealotchen0 committed Sep 26, 2024
1 parent d2f680d commit 517c662
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ inline namespace framework {
inline namespace renderer {
inline namespace native {


void CallRenderDelegateSetIdMethod(napi_env env, napi_ref render_provider_ref,
const std::string& method, uint32_t id) {
ArkTS arkTs(env);
Expand All @@ -56,7 +55,7 @@ void CallRenderDelegateSetIdMethod(napi_env env, napi_ref render_provider_ref,
auto delegateObject = arkTs.GetObject(render_provider_ref);
delegateObject.Call(method.c_str(), args);
}

void CallRenderDelegateMethod(napi_env env, napi_ref render_provider_ref,
const std::string& method, uint32_t root_id, const std::pair<uint8_t*, size_t>& buffer) {
OhNapiTaskRunner *taskRunner = OhNapiTaskRunner::Instance(env);
Expand All @@ -70,7 +69,7 @@ void CallRenderDelegateMethod(napi_env env, napi_ref render_provider_ref,
delegateObject.Call(method.c_str(), args);
});
}

void CallRenderDelegateMethod(napi_env env, napi_ref render_provider_ref,
const std::string& method, uint32_t root_id) {
OhNapiTaskRunner *taskRunner = OhNapiTaskRunner::Instance(env);
Expand Down

0 comments on commit 517c662

Please sign in to comment.