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

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

Issue 2745793002: Fix caret paint invalidation issues (Closed)
Patch Set: Created 3 years, 9 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 0024a45b4226861398741ce2e980dcb1b0a3417d..cba2d8cf917e029900e989b4d2b4023fddf15393 100644
--- a/third_party/WebKit/Source/core/editing/FrameCaret.cpp
+++ b/third_party/WebKit/Source/core/editing/FrameCaret.cpp
@@ -146,10 +146,10 @@ void FrameCaret::updateStyleAndLayoutIfNeeded() {
shouldPaintCaret ? caretPosition() : PositionWithAffinity());
}
-void FrameCaret::invalidatePaintIfNeeded(const LayoutBlock& block,
- const PaintInvalidatorContext& context,
- PaintInvalidationReason reason) {
- m_displayItemClient->invalidatePaintIfNeeded(block, context, reason);
+void FrameCaret::invalidatePaintIfNeeded(
+ const LayoutBlock& block,
+ const PaintInvalidatorContext& context) {
+ m_displayItemClient->invalidatePaintIfNeeded(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