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

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

Issue 2852573002: Rename InvalidatePaintIfNeeded to drop deprecated IfNeeded suffix. (Closed)
Patch Set: Created 3 years, 8 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/FrameCaret.cpp
diff --git a/third_party/WebKit/Source/core/editing/FrameCaret.cpp b/third_party/WebKit/Source/core/editing/FrameCaret.cpp
index cbef489cf216de65099fa930be6e94aa0ba631e9..8a63733d2cef973bdf7a5bf23060356bc7f45792 100644
--- a/third_party/WebKit/Source/core/editing/FrameCaret.cpp
+++ b/third_party/WebKit/Source/core/editing/FrameCaret.cpp
@@ -146,10 +146,9 @@ void FrameCaret::UpdateStyleAndLayoutIfNeeded() {
should_paint_caret ? CaretPosition() : PositionWithAffinity());
}
-void FrameCaret::InvalidatePaintIfNeeded(
- const LayoutBlock& block,
- const PaintInvalidatorContext& context) {
- display_item_client_->InvalidatePaintIfNeeded(block, context);
+void FrameCaret::InvalidatePaint(const LayoutBlock& block,
+ const PaintInvalidatorContext& context) {
+ display_item_client_->InvalidatePaint(block, context);
}
bool FrameCaret::CaretPositionIsValidForDocument(
« no previous file with comments | « third_party/WebKit/Source/core/editing/FrameCaret.h ('k') | third_party/WebKit/Source/core/editing/FrameSelection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698