Index: third_party/WebKit/Source/core/layout/LayoutTableSection.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp b/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp |
index 40ca5ea321701a5af3aaa059d5d63132947aff6d..c08c5b8bc0f19c400501f557ca1780f4e18afc91 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp |
@@ -1614,43 +1614,6 @@ bool LayoutTableSection::nodeAtPoint(HitTestResult& result, const HitTestLocatio |
return false; |
} |
-void LayoutTableSection::removeCachedCollapsedBorders(const LayoutTableCell* cell) |
-{ |
- if (!table()->collapseBorders()) |
- return; |
- |
- for (int side = CBSBefore; side <= CBSEnd; ++side) |
- m_cellsCollapsedBorders.remove(std::make_pair(cell, side)); |
-} |
- |
-bool LayoutTableSection::setCachedCollapsedBorder(const LayoutTableCell* cell, CollapsedBorderSide side, const CollapsedBorderValue& border) |
-{ |
- ASSERT(table()->collapseBorders()); |
- CellsCollapsedBordersMap::iterator it = m_cellsCollapsedBorders.find(std::make_pair(cell, side)); |
- if (it == m_cellsCollapsedBorders.end()) { |
- if (!border.isVisible()) |
- return false; |
- m_cellsCollapsedBorders.add(std::make_pair(cell, side), border); |
- return true; |
- } |
- if (!border.isVisible()) { |
- m_cellsCollapsedBorders.remove(it); |
- return true; |
- } |
- if (!it->value.equals(border)) { |
- it->value = border; |
- return true; |
- } |
- return false; |
-} |
- |
-const CollapsedBorderValue* LayoutTableSection::cachedCollapsedBorder(const LayoutTableCell* cell, CollapsedBorderSide side) const |
-{ |
- ASSERT(table()->collapseBorders()); |
- CellsCollapsedBordersMap::const_iterator it = m_cellsCollapsedBorders.find(std::make_pair(cell, side)); |
- return it == m_cellsCollapsedBorders.end() ? nullptr : &it->value; |
-} |
- |
LayoutTableSection* LayoutTableSection::createAnonymousWithParent(const LayoutObject* parent) |
{ |
RefPtr<ComputedStyle> newStyle = ComputedStyle::createAnonymousStyleWithDisplay(parent->styleRef(), TABLE_ROW_GROUP); |