mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Remove use of SkFunctionWrapper from display_list (flutter/engine#36931)
This commit is contained in:
parent
92b9aa8d8a
commit
993c84dfcb
@ -283,7 +283,10 @@ class DisplayList : public SkRefCnt {
|
||||
const SkRect& cull_rect,
|
||||
bool can_apply_group_opacity);
|
||||
|
||||
std::unique_ptr<uint8_t, SkFunctionWrapper<void(void*), sk_free>> storage_;
|
||||
struct SkFreeDeleter {
|
||||
void operator()(uint8_t* p) { sk_free(p); }
|
||||
};
|
||||
std::unique_ptr<uint8_t, SkFreeDeleter> storage_;
|
||||
size_t byte_count_;
|
||||
unsigned int op_count_;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user