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

Unified Diff: third_party/WebKit/Source/core/editing/FrameSelection.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/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 {
« no previous file with comments | « third_party/WebKit/Source/core/editing/FrameSelection.h ('k') | third_party/WebKit/Source/core/frame/FrameView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698