| Index: third_party/WebKit/Source/core/paint/TableCellPainterTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/TableCellPainterTest.cpp b/third_party/WebKit/Source/core/paint/TableCellPainterTest.cpp
|
| index 724cbf11de29b5865bdd3a616737f8ef319ee674..dc27bbf659960106e036deee999436b452f3692e 100644
|
| --- a/third_party/WebKit/Source/core/paint/TableCellPainterTest.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/TableCellPainterTest.cpp
|
| @@ -30,6 +30,7 @@ TEST_F(TableCellPainterTest, TableCellBackgroundInterestRect)
|
| PaintLayer& rootLayer = *layoutView.layer();
|
| LayoutObject& cell1 = *document().getElementById("cell1")->layoutObject();
|
| LayoutObject& cell2 = *document().getElementById("cell2")->layoutObject();
|
| + DisplayItemClientWrapper rootLayerClient(rootLayer.displayItemClientForNormalAndPositiveZOrderChildren());
|
|
|
| rootPaintController().invalidateAll();
|
| updateLifecyclePhasesBeforePaint();
|
| @@ -39,9 +40,9 @@ TEST_F(TableCellPainterTest, TableCellBackgroundInterestRect)
|
|
|
| EXPECT_DISPLAY_LIST(rootPaintController().displayItemList(), 4,
|
| TestDisplayItem(layoutView, DisplayItem::BoxDecorationBackground),
|
| - TestDisplayItem(rootLayer, subsequenceType),
|
| + TestDisplayItem(rootLayerClient, DisplayItem::Subsequence),
|
| TestDisplayItem(cell1, DisplayItem::TableCellBackgroundFromRow),
|
| - TestDisplayItem(rootLayer, endSubsequenceType));
|
| + TestDisplayItem(rootLayerClient, DisplayItem::EndSubsequence));
|
|
|
| updateLifecyclePhasesBeforePaint();
|
| interestRect = IntRect(0, 300, 200, 1000);
|
| @@ -50,9 +51,9 @@ TEST_F(TableCellPainterTest, TableCellBackgroundInterestRect)
|
|
|
| EXPECT_DISPLAY_LIST(rootPaintController().displayItemList(), 4,
|
| TestDisplayItem(layoutView, DisplayItem::BoxDecorationBackground),
|
| - TestDisplayItem(rootLayer, subsequenceType),
|
| + TestDisplayItem(rootLayerClient, DisplayItem::Subsequence),
|
| TestDisplayItem(cell2, DisplayItem::TableCellBackgroundFromRow),
|
| - TestDisplayItem(rootLayer, endSubsequenceType));
|
| + TestDisplayItem(rootLayerClient, DisplayItem::EndSubsequence));
|
| }
|
|
|
| } // namespace blink
|
|
|