未验证 提交 b59793ee 编写于 作者: D Dan Field 提交者: GitHub

fix build (#20644)

上级 b4ca85f0
...@@ -637,7 +637,8 @@ TEST_F(ShellTest, OnPlatformViewDestroyAfterMergingThreads) { ...@@ -637,7 +637,8 @@ TEST_F(ShellTest, OnPlatformViewDestroyAfterMergingThreads) {
this->GetCurrentTaskRunner(), fml::TimeDelta::FromSeconds(0)); this->GetCurrentTaskRunner(), fml::TimeDelta::FromSeconds(0));
auto picture_layer = std::make_shared<PictureLayer>( auto picture_layer = std::make_shared<PictureLayer>(
SkPoint::Make(10, 10), SkPoint::Make(10, 10),
flutter::SkiaGPUObject<SkPicture>({sk_picture, queue}), false, false); flutter::SkiaGPUObject<SkPicture>({sk_picture, queue}), false, false,
0);
root->Add(picture_layer); root->Add(picture_layer);
}; };
...@@ -705,7 +706,8 @@ TEST_F(ShellTest, OnPlatformViewDestroyWhenThreadsAreMerging) { ...@@ -705,7 +706,8 @@ TEST_F(ShellTest, OnPlatformViewDestroyWhenThreadsAreMerging) {
this->GetCurrentTaskRunner(), fml::TimeDelta::FromSeconds(0)); this->GetCurrentTaskRunner(), fml::TimeDelta::FromSeconds(0));
auto picture_layer = std::make_shared<PictureLayer>( auto picture_layer = std::make_shared<PictureLayer>(
SkPoint::Make(10, 10), SkPoint::Make(10, 10),
flutter::SkiaGPUObject<SkPicture>({sk_picture, queue}), false, false); flutter::SkiaGPUObject<SkPicture>({sk_picture, queue}), false, false,
0);
root->Add(picture_layer); root->Add(picture_layer);
}; };
...@@ -771,7 +773,8 @@ TEST_F(ShellTest, ...@@ -771,7 +773,8 @@ TEST_F(ShellTest,
this->GetCurrentTaskRunner(), fml::TimeDelta::FromSeconds(0)); this->GetCurrentTaskRunner(), fml::TimeDelta::FromSeconds(0));
auto picture_layer = std::make_shared<PictureLayer>( auto picture_layer = std::make_shared<PictureLayer>(
SkPoint::Make(10, 10), SkPoint::Make(10, 10),
flutter::SkiaGPUObject<SkPicture>({sk_picture, queue}), false, false); flutter::SkiaGPUObject<SkPicture>({sk_picture, queue}), false, false,
0);
root->Add(picture_layer); root->Add(picture_layer);
}; };
PumpOneFrame(shell.get(), 100, 100, builder); PumpOneFrame(shell.get(), 100, 100, builder);
...@@ -819,7 +822,8 @@ TEST_F(ShellTest, OnPlatformViewDestroyWithoutRasterThreadMerger) { ...@@ -819,7 +822,8 @@ TEST_F(ShellTest, OnPlatformViewDestroyWithoutRasterThreadMerger) {
this->GetCurrentTaskRunner(), fml::TimeDelta::FromSeconds(0)); this->GetCurrentTaskRunner(), fml::TimeDelta::FromSeconds(0));
auto picture_layer = std::make_shared<PictureLayer>( auto picture_layer = std::make_shared<PictureLayer>(
SkPoint::Make(10, 10), SkPoint::Make(10, 10),
flutter::SkiaGPUObject<SkPicture>({sk_picture, queue}), false, false); flutter::SkiaGPUObject<SkPicture>({sk_picture, queue}), false, false,
0);
root->Add(picture_layer); root->Add(picture_layer);
}; };
PumpOneFrame(shell.get(), 100, 100, builder); PumpOneFrame(shell.get(), 100, 100, builder);
...@@ -884,7 +888,8 @@ TEST_F(ShellTest, OnPlatformViewDestroyWithStaticThreadMerging) { ...@@ -884,7 +888,8 @@ TEST_F(ShellTest, OnPlatformViewDestroyWithStaticThreadMerging) {
this->GetCurrentTaskRunner(), fml::TimeDelta::FromSeconds(0)); this->GetCurrentTaskRunner(), fml::TimeDelta::FromSeconds(0));
auto picture_layer = std::make_shared<PictureLayer>( auto picture_layer = std::make_shared<PictureLayer>(
SkPoint::Make(10, 10), SkPoint::Make(10, 10),
flutter::SkiaGPUObject<SkPicture>({sk_picture, queue}), false, false); flutter::SkiaGPUObject<SkPicture>({sk_picture, queue}), false, false,
0);
root->Add(picture_layer); root->Add(picture_layer);
}; };
PumpOneFrame(shell.get(), 100, 100, builder); PumpOneFrame(shell.get(), 100, 100, builder);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册