Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 3755bf1

Browse files
committed
adjust new DL sources for recent removal of Fuchsia legacy code
1 parent 0d66114 commit 3755bf1

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

flow/layers/display_list_layer.cc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,6 @@ void DisplayListLayer::Preroll(PrerollContext* context,
8787
const SkMatrix& matrix) {
8888
TRACE_EVENT0("flutter", "DisplayListLayer::Preroll");
8989

90-
#if defined(LEGACY_FUCHSIA_EMBEDDER)
91-
CheckForChildLayerBelow(context);
92-
#endif
93-
9490
DisplayList* disp_list = display_list();
9591

9692
if (auto* cache = context->raster_cache) {

flow/layers/display_list_layer_unittests.cc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ TEST_F(DisplayListLayerTest, PaintingEmptyLayerDies) {
4747
layer->Preroll(preroll_context(), SkMatrix());
4848
EXPECT_EQ(layer->paint_bounds(), SkRect::MakeEmpty());
4949
EXPECT_FALSE(layer->needs_painting(paint_context()));
50-
EXPECT_FALSE(layer->needs_system_composite());
5150

5251
EXPECT_DEATH_IF_SUPPORTED(layer->Paint(paint_context()),
5352
"needs_painting\\(context\\)");
@@ -79,7 +78,6 @@ TEST_F(DisplayListLayerTest, SimpleDisplayList) {
7978
picture_bounds.makeOffset(layer_offset.fX, layer_offset.fY));
8079
EXPECT_EQ(layer->display_list(), display_list.get());
8180
EXPECT_TRUE(layer->needs_painting(paint_context()));
82-
EXPECT_FALSE(layer->needs_system_composite());
8381

8482
layer->Paint(paint_context());
8583
auto expected_draw_calls = std::vector(

0 commit comments

Comments
 (0)