Index: third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp b/third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp |
index 29eb7671182720f86a2ffa23103fab8d2fdf281a..3ab41c686c1216055d6ea59218eb117d4a4a73ee 100644 |
--- a/third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp |
@@ -153,13 +153,6 @@ |
if (RuntimeEnabledFeatures::slimmingPaintV2Enabled()) |
m_newPaintChunks.decrementDisplayItemIndex(); |
-} |
- |
-const DisplayItem* PaintController::lastDisplayItem(unsigned offset) |
-{ |
- if (offset < m_newDisplayItemList.size()) |
- return &m_newDisplayItemList[m_newDisplayItemList.size() - offset - 1]; |
- return nullptr; |
} |
void PaintController::processNewItem(DisplayItem& displayItem) |