| 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 1cd5830d4d7221e763c2ff1216c00aca7a140836..adce65d56936c5844337216f99c5d4cb57052b17 100644
|
| --- a/third_party/WebKit/Source/core/paint/TableCellPainterTest.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/TableCellPainterTest.cpp
|
| @@ -170,11 +170,12 @@ TEST_F(TableCellPainterTest, CollapsedBorderAndOverflow) {
|
| "100px solid yellow; background: green; }"
|
| " table { margin: 100px; border-collapse: collapse; }"
|
| "</style>"
|
| - "<table>"
|
| + "<table id='table'>"
|
| " <tr><td id='cell'></td></tr>"
|
| "</table>");
|
|
|
| LayoutView& layoutView = *document().layoutView();
|
| + LayoutObject& table = *getLayoutObjectByElementId("table");
|
| LayoutObject& cell = *getLayoutObjectByElementId("cell");
|
|
|
| rootPaintController().invalidateAll();
|
| @@ -188,7 +189,7 @@ TEST_F(TableCellPainterTest, CollapsedBorderAndOverflow) {
|
| rootPaintController().getDisplayItemList(), 4,
|
| TestDisplayItem(layoutView, DisplayItem::kDocumentBackground),
|
| TestDisplayItem(cell, DisplayItem::kBoxDecorationBackground),
|
| - TestDisplayItem(cell, DisplayItem::kTableCollapsedBorderLast),
|
| + TestDisplayItem(table, DisplayItem::kTableCollapsedBorders),
|
| TestDisplayItem(cell, DisplayItem::paintPhaseToDrawingType(
|
| PaintPhaseSelfOutlineOnly)));
|
| }
|
|
|