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

Unified Diff: third_party/WebKit/Source/core/editing/DragCaret.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/DragCaret.cpp
diff --git a/third_party/WebKit/Source/core/editing/DragCaret.cpp b/third_party/WebKit/Source/core/editing/DragCaret.cpp
index 5cb4516dbd6e1c97b94733ab79b8d0fba86ac5db..41a57390f015a0720b739e2c1935d9e62e782e6a 100644
--- a/third_party/WebKit/Source/core/editing/DragCaret.cpp
+++ b/third_party/WebKit/Source/core/editing/DragCaret.cpp
@@ -55,10 +55,9 @@ void DragCaret::UpdateStyleAndLayoutIfNeeded() {
: PositionWithAffinity());
}
-void DragCaret::InvalidatePaintIfNeeded(
- const LayoutBlock& block,
- const PaintInvalidatorContext& context) {
- display_item_client_->InvalidatePaintIfNeeded(block, context);
+void DragCaret::InvalidatePaint(const LayoutBlock& block,
+ const PaintInvalidatorContext& context) {
+ display_item_client_->InvalidatePaint(block, context);
}
bool DragCaret::IsContentRichlyEditable() const {
« no previous file with comments | « third_party/WebKit/Source/core/editing/DragCaret.h ('k') | third_party/WebKit/Source/core/editing/FrameCaret.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698