未验证 提交 e40768c6 编写于 作者: M Matthew Dempsky 提交者: GitHub

Initialize next_pointer_flow_id_ to 0 (#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.
上级 3d2e9b24
......@@ -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);
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册