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

Unified Diff: third_party/WebKit/Source/core/editing/CaretDisplayItemClient.cpp

Issue 2707063003: Don't invalidate rect if it's covered by fully invalidated parent's visual rect (Closed)
Patch Set: - Created 3 years, 10 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/CaretDisplayItemClient.cpp
diff --git a/third_party/WebKit/Source/core/editing/CaretDisplayItemClient.cpp b/third_party/WebKit/Source/core/editing/CaretDisplayItemClient.cpp
index 7d20faae739183d871093f9d2f01d4e679382364..b5089bc6d6662368fbf3e7f2ab0dee5810393380 100644
--- a/third_party/WebKit/Source/core/editing/CaretDisplayItemClient.cpp
+++ b/third_party/WebKit/Source/core/editing/CaretDisplayItemClient.cpp
@@ -181,9 +181,8 @@ void CaretDisplayItemClient::invalidatePaintInPreviousLayoutBlock(
context);
if (!isImmediateFullPaintInvalidationReason(
layoutBlockPaintInvalidationReason)) {
- objectInvalidator.invalidatePaintUsingContainer(
- *context.paintInvalidationContainer, m_previousVisualRect,
- PaintInvalidationCaret);
+ objectInvalidator.invalidatePaintRectangleWithContext(
+ m_previousVisualRect, PaintInvalidationCaret);
}
context.paintingLayer->setNeedsRepaint();

Powered by Google App Engine
This is Rietveld 408576698