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

Unified Diff: third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp

Issue 2665823002: Invalidate caret during paint invalidation (Closed)
Patch Set: Refactor Created 3 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/paint/PaintLayerScrollableArea.cpp
diff --git a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp
index 8eef9f10843509642a26e3d269a9b514b57ba9c3..4cf8fca677a05ab1892c87b545bad9843d738c35 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp
@@ -409,8 +409,6 @@ void PaintLayerScrollableArea::updateScrollOffset(const ScrollOffset& newOffset,
const LayoutBoxModelObject& paintInvalidationContainer =
box().containerForPaintInvalidation();
- // The caret rect needs to be invalidated after scrolling
- frame->selection().setCaretRectNeedsUpdate();
FloatQuad quadForFakeMouseMoveEvent = FloatQuad(FloatRect(
layer()->layoutObject()->previousVisualRectIncludingCompositedScrolling(

Powered by Google App Engine
This is Rietveld 408576698