diff options
Diffstat (limited to 'chromium/third_party/blink/renderer/platform/graphics/graphics_layer_test.cc')
-rw-r--r-- | chromium/third_party/blink/renderer/platform/graphics/graphics_layer_test.cc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/chromium/third_party/blink/renderer/platform/graphics/graphics_layer_test.cc b/chromium/third_party/blink/renderer/platform/graphics/graphics_layer_test.cc index 9d11f2086a2..e79095e8fbf 100644 --- a/chromium/third_party/blink/renderer/platform/graphics/graphics_layer_test.cc +++ b/chromium/third_party/blink/renderer/platform/graphics/graphics_layer_test.cc @@ -139,8 +139,11 @@ TEST_P(GraphicsLayerTest, PaintRecursively) { layers_.graphics_layer_client().SetNeedsRepaint(true); layers_.graphics_layer().PaintRecursively(); - EXPECT_FALSE(transform1->Changed(transform_root)); - EXPECT_FALSE(transform2->Changed(transform_root)); + // With BlinkGenPropertyTrees, these are not cleared until after paint. + if (!RuntimeEnabledFeatures::BlinkGenPropertyTreesEnabled()) { + EXPECT_FALSE(transform1->Changed(transform_root)); + EXPECT_FALSE(transform2->Changed(transform_root)); + } } TEST_P(GraphicsLayerTest, SetDrawsContentFalse) { |