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

Unified Diff: third_party/WebKit/Source/core/editing/FrameSelection.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/FrameSelection.cpp
diff --git a/third_party/WebKit/Source/core/editing/FrameSelection.cpp b/third_party/WebKit/Source/core/editing/FrameSelection.cpp
index 9247096b66c092cb4808ae1119c89ba1335a6e66..5333715cc454f2f613fefc8fa875ec82f09da29e 100644
--- a/third_party/WebKit/Source/core/editing/FrameSelection.cpp
+++ b/third_party/WebKit/Source/core/editing/FrameSelection.cpp
@@ -483,9 +483,8 @@ void FrameSelection::updateStyleAndLayoutIfNeeded() {
void FrameSelection::invalidatePaintIfNeeded(
const LayoutBlock& block,
- const PaintInvalidatorContext& context,
- PaintInvalidationReason reason) {
- m_frameCaret->invalidatePaintIfNeeded(block, context, reason);
+ const PaintInvalidatorContext& context) {
+ m_frameCaret->invalidatePaintIfNeeded(block, context);
}
bool FrameSelection::shouldPaintCaret(const LayoutBlock& block) const {

Powered by Google App Engine
This is Rietveld 408576698