mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Fix use of uninitialized memory in animator (flutter/engine#22714)
* Fix use of uninitialized memory in animator Discovered via MSAN build of embedder_unittests
This commit is contained in:
parent
2e1e887c76
commit
2260bb3fd7
@ -108,7 +108,7 @@ class Animator final {
|
||||
bool frame_scheduled_;
|
||||
int notify_idle_task_id_;
|
||||
bool dimension_change_pending_;
|
||||
SkISize last_layer_tree_size_;
|
||||
SkISize last_layer_tree_size_ = {0, 0};
|
||||
std::deque<uint64_t> trace_flow_ids_;
|
||||
|
||||
fml::WeakPtrFactory<Animator> weak_factory_;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user