| Index: third_party/WebKit/Source/core/paint/PaintControllerPaintTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/PaintControllerPaintTest.cpp b/third_party/WebKit/Source/core/paint/PaintControllerPaintTest.cpp
|
| index 018acd1953f2bd04365bda3a9bc14e14918f4fe2..648914c8757cac08a3f5652306f00bc19ac8e1aa 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintControllerPaintTest.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PaintControllerPaintTest.cpp
|
| @@ -235,11 +235,7 @@ TEST_P(PaintControllerPaintTestForSlimmingPaintV2, ChunkIdClientCacheFlag) {
|
| const EffectPaintPropertyNode* effectNode = div.paintProperties()->effect();
|
| EXPECT_EQ(0.5f, effectNode->opacity());
|
|
|
| - // When RLS is enabled, an additional paint chunk will be created for the
|
| - // LayoutView's layer.
|
| - unsigned divChunkIndex =
|
| - RuntimeEnabledFeatures::rootLayerScrollingEnabled() ? 2 : 1;
|
| - const PaintChunk& chunk = rootPaintController().paintChunks()[divChunkIndex];
|
| + const PaintChunk& chunk = rootPaintController().paintChunks()[1 /* div */];
|
| EXPECT_EQ(*div.layer(), chunk.id->client);
|
| EXPECT_EQ(effectNode, chunk.properties.propertyTreeState.effect());
|
|
|
|
|