Index: third_party/WebKit/Source/core/layout/LayoutListMarker.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutListMarker.cpp b/third_party/WebKit/Source/core/layout/LayoutListMarker.cpp |
index a5c7e7a6d698801a57465f32e3aa2af75de96fa2..31e5f27a948e60f885ee9b889de0a50a7b97edce 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutListMarker.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutListMarker.cpp |
@@ -439,22 +439,6 @@ void LayoutListMarker::setSelectionState(SelectionState state) |
inlineBoxWrapper()->root().setHasSelectedChildren(state != SelectionNone); |
} |
-LayoutRect LayoutListMarker::selectionRectForPaintInvalidation(const LayoutBoxModelObject* paintInvalidationContainer) const |
-{ |
- ASSERT(!needsLayout()); |
- |
- if (getSelectionState() == SelectionNone || !inlineBoxWrapper()) |
- return LayoutRect(); |
- |
- RootInlineBox& root = inlineBoxWrapper()->root(); |
- LayoutRect rect(LayoutUnit(), root.selectionTop() - location().y(), size().width(), root.selectionHeight()); |
- mapToVisibleRectInAncestorSpace(paintInvalidationContainer, rect, nullptr); |
- // FIXME: groupedMapping() leaks the squashing abstraction. |
- if (paintInvalidationContainer->layer()->groupedMapping()) |
- PaintLayer::mapRectInPaintInvalidationContainerToBacking(paintInvalidationContainer, rect); |
- return rect; |
-} |
- |
void LayoutListMarker::listItemStyleDidChange() |
{ |
RefPtr<ComputedStyle> newStyle = ComputedStyle::create(); |