Index: third_party/WebKit/Source/core/layout/LayoutView.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutView.cpp b/third_party/WebKit/Source/core/layout/LayoutView.cpp |
index 88186a58e368e7f72fe904e233c96f6eefafdf0e..5ea72b0b474149b6d37b466e1e69c05fd7e99fd4 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutView.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutView.cpp |
@@ -722,8 +722,6 @@ void LayoutView::setSelection(LayoutObject* start, int startPos, LayoutObject* e |
o = o->nextInPreOrder(); |
} |
- layer()->clearBlockSelectionGapsBounds(); |
- |
// Now that the selection state has been updated for the new objects, walk them again and |
// put them in the new objects list. |
o = start; |
@@ -789,7 +787,6 @@ void LayoutView::clearSelection() |
// This is correct, since destroying layout objects needs to cause eager paint invalidations. |
DisableCompositingQueryAsserts disabler; |
- layer()->invalidatePaintForBlockSelectionGaps(); |
setSelection(0, -1, 0, -1, PaintInvalidationNewMinusOld); |
} |