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(); |