Fix fatal crash of ImageDecoderFixtureTest.ExifDataIsRespectedOnDecode (flutter/engine#32356)

This commit is contained in:
ColdPaleLight 2022-04-01 04:04:55 +08:00 committed by GitHub
parent d97de0c096
commit 42c38f7e45

View File

@ -34,7 +34,8 @@ class TestIOManager final : public IOManager {
: nullptr),
unref_queue_(fml::MakeRefCounted<SkiaUnrefQueue>(
task_runner,
fml::TimeDelta::FromNanoseconds(0))),
fml::TimeDelta::FromNanoseconds(0),
gl_context_)),
runner_(task_runner),
is_gpu_disabled_sync_switch_(std::make_shared<fml::SyncSwitch>()),
weak_factory_(this) {