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

Unified Diff: third_party/WebKit/Source/core/editing/DragCaret.h

Issue 2737043002: Fix caret paint invalidation issue on partial lifecycle updates (Closed)
Patch Set: Created 3 years, 9 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/editing/DragCaret.h
diff --git a/third_party/WebKit/Source/core/editing/DragCaret.h b/third_party/WebKit/Source/core/editing/DragCaret.h
index 75aa6402e927cbc7ec50697f328133558d89befe..f5bbcdc0afca4bc8b4d805448f8ad2622dc3518a 100644
--- a/third_party/WebKit/Source/core/editing/DragCaret.h
+++ b/third_party/WebKit/Source/core/editing/DragCaret.h
@@ -50,7 +50,7 @@ class DragCaret final : public GarbageCollectedFinalized<DragCaret>,
// Paint invalidation methods delegating to CaretDisplayItemClient.
void clearPreviousVisualRect(const LayoutBlock&);
void layoutBlockWillBeDestroyed(const LayoutBlock&);
- void updateStyleAndLayoutIfNeeded();
+ void updateForPaintInvalidation();
void invalidatePaintIfNeeded(const LayoutBlock&,
const PaintInvalidatorContext&,
PaintInvalidationReason);

Powered by Google App Engine
This is Rietveld 408576698