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 e15c20228d1180de4c7e27ee3b6afcfa9fe7b87b..4d0adf75a1a06f6d62d454566149aaa290e7e457 100644 |
--- a/third_party/WebKit/Source/core/paint/PaintControllerPaintTest.cpp |
+++ b/third_party/WebKit/Source/core/paint/PaintControllerPaintTest.cpp |
@@ -130,9 +130,12 @@ TEST_F(PaintControllerPaintTestForSlimmingPaintV2, ChunkIdClientCacheFlag) |
TestDisplayItem(*layoutView().layer(), DisplayItem::kEndSubsequence), |
TestDisplayItem(layoutView(), DisplayItem::clipTypeToEndClipType(DisplayItem::kClipFrameToVisibleContentRect))); |
+ const PaintChunk& backgroundChunk = rootPaintController().paintChunks()[0]; |
+ EXPECT_TRUE(backgroundChunk.properties.scroll->isRoot()); |
+ |
const EffectPaintPropertyNode* effectNode = div.objectPaintProperties()->effect(); |
EXPECT_EQ(0.5f, effectNode->opacity()); |
- const PaintChunk& chunk = rootPaintController().paintChunks()[2]; |
+ const PaintChunk& chunk = rootPaintController().paintChunks()[1]; |
EXPECT_EQ(*div.layer(), chunk.id->client); |
EXPECT_EQ(effectNode, chunk.properties.effect.get()); |