Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1570)

Unified Diff: third_party/WebKit/Source/core/layout/LayoutView.cpp

Issue 1642223002: Delete selection gap code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Integrate feedback. Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
}

Powered by Google App Engine
This is Rietveld 408576698