From 32f0a9c6b7ab8656ee784065c38cebfd8021a3bd Mon Sep 17 00:00:00 2001 From: Dan Field Date: Wed, 19 Aug 2020 14:34:37 -0700 Subject: [PATCH] fix build --- shell/common/shell_unittests.cc | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/shell/common/shell_unittests.cc b/shell/common/shell_unittests.cc index 3387a5cea0fdd..30e03d1818fc7 100644 --- a/shell/common/shell_unittests.cc +++ b/shell/common/shell_unittests.cc @@ -637,7 +637,8 @@ TEST_F(ShellTest, OnPlatformViewDestroyAfterMergingThreads) { this->GetCurrentTaskRunner(), fml::TimeDelta::FromSeconds(0)); auto picture_layer = std::make_shared( SkPoint::Make(10, 10), - flutter::SkiaGPUObject({sk_picture, queue}), false, false); + flutter::SkiaGPUObject({sk_picture, queue}), false, false, + 0); root->Add(picture_layer); }; @@ -705,7 +706,8 @@ TEST_F(ShellTest, OnPlatformViewDestroyWhenThreadsAreMerging) { this->GetCurrentTaskRunner(), fml::TimeDelta::FromSeconds(0)); auto picture_layer = std::make_shared( SkPoint::Make(10, 10), - flutter::SkiaGPUObject({sk_picture, queue}), false, false); + flutter::SkiaGPUObject({sk_picture, queue}), false, false, + 0); root->Add(picture_layer); }; @@ -771,7 +773,8 @@ TEST_F(ShellTest, this->GetCurrentTaskRunner(), fml::TimeDelta::FromSeconds(0)); auto picture_layer = std::make_shared( SkPoint::Make(10, 10), - flutter::SkiaGPUObject({sk_picture, queue}), false, false); + flutter::SkiaGPUObject({sk_picture, queue}), false, false, + 0); root->Add(picture_layer); }; PumpOneFrame(shell.get(), 100, 100, builder); @@ -819,7 +822,8 @@ TEST_F(ShellTest, OnPlatformViewDestroyWithoutRasterThreadMerger) { this->GetCurrentTaskRunner(), fml::TimeDelta::FromSeconds(0)); auto picture_layer = std::make_shared( SkPoint::Make(10, 10), - flutter::SkiaGPUObject({sk_picture, queue}), false, false); + flutter::SkiaGPUObject({sk_picture, queue}), false, false, + 0); root->Add(picture_layer); }; PumpOneFrame(shell.get(), 100, 100, builder); @@ -884,7 +888,8 @@ TEST_F(ShellTest, OnPlatformViewDestroyWithStaticThreadMerging) { this->GetCurrentTaskRunner(), fml::TimeDelta::FromSeconds(0)); auto picture_layer = std::make_shared( SkPoint::Make(10, 10), - flutter::SkiaGPUObject({sk_picture, queue}), false, false); + flutter::SkiaGPUObject({sk_picture, queue}), false, false, + 0); root->Add(picture_layer); }; PumpOneFrame(shell.get(), 100, 100, builder);