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

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

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/paint/PaintInvalidator.cpp
diff --git a/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp b/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp
index 8f2b791ec3162c24561aaefda0063be6ef630183..936d33005c8276b16fa9e961c524895cbbcbbc04 100644
--- a/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp
@@ -388,6 +388,8 @@ void PaintInvalidator::invalidatePaintIfNeeded(
LayoutView* layoutView = frameView.layoutView();
CHECK(layoutView);
+ frameView.updateCaretsForPaintInvalidation();
+
context.paintInvalidationContainer =
context.paintInvalidationContainerForStackedContents =
&layoutView->containerForPaintInvalidation();

Powered by Google App Engine
This is Rietveld 408576698