修复draw_cmd_list_fuzzer

Signed-off-by: s30043564 <shenxiaoliang1@huawei.com>
This commit is contained in:
s30043564 2024-10-30 03:42:44 +00:00
parent b449b9aada
commit b3cc2ab5f3

View File

@ -108,7 +108,7 @@ void DrawCmdListFuzzTest001(const uint8_t* data, size_t size)
drawCmdList->GenerateCache(&canvas);
drawCmdList->GenerateCache(&canvas, &rect);
drawCmdList->UpdateNodeIdToPicture(nodeId);
std::vector<std::pair<uint32_t, uint32_t>> replacedOpList = drawCmdList->GetReplacedOpList();
std::vector<std::pair<size_t, size_t>> replacedOpList = drawCmdList->GetReplacedOpList();
drawCmdList->SetReplacedOpList(replacedOpList);
std::string out(obj);
drawCmdList->Dump(out);