mirror of
https://gitee.com/openharmony/graphic_graphic_2d
synced 2024-11-27 17:21:51 +00:00
修复draw_cmd_list_fuzzer
Signed-off-by: s30043564 <shenxiaoliang1@huawei.com>
This commit is contained in:
parent
b449b9aada
commit
b3cc2ab5f3
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user