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