Index: third_party/WebKit/Source/core/editing/FrameSelection.cpp |
diff --git a/third_party/WebKit/Source/core/editing/FrameSelection.cpp b/third_party/WebKit/Source/core/editing/FrameSelection.cpp |
index f639ca8f81ff559310430e556eec87b95de382ab..87ec20377a9264488e300255fbd46ffb3ea3af8e 100644 |
--- a/third_party/WebKit/Source/core/editing/FrameSelection.cpp |
+++ b/third_party/WebKit/Source/core/editing/FrameSelection.cpp |
@@ -471,10 +471,9 @@ void FrameSelection::UpdateStyleAndLayoutIfNeeded() { |
frame_caret_->UpdateStyleAndLayoutIfNeeded(); |
} |
-void FrameSelection::InvalidatePaintIfNeeded( |
- const LayoutBlock& block, |
- const PaintInvalidatorContext& context) { |
- frame_caret_->InvalidatePaintIfNeeded(block, context); |
+void FrameSelection::InvalidatePaint(const LayoutBlock& block, |
+ const PaintInvalidatorContext& context) { |
+ frame_caret_->InvalidatePaint(block, context); |
} |
bool FrameSelection::ShouldPaintCaret(const LayoutBlock& block) const { |