mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Initialize next_pointer_flow_id_ to 0 (flutter/engine#9026)
This member variable was added to three classes in #7807, but only initialized to 0 in one of them. Initialize to 0 in the other two.
This commit is contained in:
parent
3aed059cc5
commit
ca6d80857f
@ -52,7 +52,7 @@ class AndroidShellHolder {
|
||||
std::unique_ptr<Shell> shell_;
|
||||
bool is_valid_ = false;
|
||||
pthread_key_t thread_destruct_key_;
|
||||
uint64_t next_pointer_flow_id_;
|
||||
uint64_t next_pointer_flow_id_ = 0;
|
||||
|
||||
static void ThreadDestructCallback(void* value);
|
||||
|
||||
|
||||
@ -75,7 +75,7 @@ class EmbedderEngine {
|
||||
const EmbedderExternalTextureGL::ExternalTextureCallback
|
||||
external_texture_callback_;
|
||||
bool is_valid_ = false;
|
||||
uint64_t next_pointer_flow_id_;
|
||||
uint64_t next_pointer_flow_id_ = 0;
|
||||
|
||||
FML_DISALLOW_COPY_AND_ASSIGN(EmbedderEngine);
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user