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 0990fdef8cabca9e3bf7024048e5965ca2a6dc46..56cad3b60d594017bd4af23cab1a266b0f279a0b 100644 |
--- a/third_party/WebKit/Source/core/editing/CaretDisplayItemClient.cpp |
+++ b/third_party/WebKit/Source/core/editing/CaretDisplayItemClient.cpp |
@@ -131,7 +131,7 @@ void CaretDisplayItemClient::updateStyleAndLayoutIfNeeded( |
LayoutBlock* newLayoutBlock = caretLayoutBlock(caretPosition.anchorNode()); |
if (newLayoutBlock != m_layoutBlock) { |
if (m_layoutBlock) |
- m_layoutBlock->setMayNeedPaintInvalidation(); |
+ m_layoutBlock->setMayNeedPaintInvalidationWithoutGeometryChange(); |
m_layoutBlock = newLayoutBlock; |
if (newLayoutBlock) |
m_needsPaintInvalidation = true; |
@@ -161,7 +161,7 @@ void CaretDisplayItemClient::updateStyleAndLayoutIfNeeded( |
} |
if (m_needsPaintInvalidation) |
- newLayoutBlock->setMayNeedPaintInvalidation(); |
+ newLayoutBlock->setMayNeedPaintInvalidationWithoutGeometryChange(); |
} |
void CaretDisplayItemClient::invalidatePaintIfNeeded( |