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

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

Issue 2271883002: Fix paint invalidation and painting for composited-scrolling input elements. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: none Created 4 years, 4 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 3fb793744da4516049cc54367a1bbef20fbe5148..4b411d62ce587d5de9aee395db778f30d5145e7c 100644
--- a/third_party/WebKit/Source/core/editing/FrameCaret.cpp
+++ b/third_party/WebKit/Source/core/editing/FrameCaret.cpp
@@ -210,7 +210,7 @@ void FrameCaret::paintCaret(GraphicsContext& context, const LayoutPoint& paintOf
return;
updateCaretRect(caretPosition());
- CaretBase::paintCaret(caretPosition().position().anchorNode(), context, paintOffset);
+ CaretBase::paintCaret(caretPosition().position().anchorNode(), context, paintOffset, DisplayItem::Caret);
}
void FrameCaret::dataWillChange(const CharacterData& node)

Powered by Google App Engine
This is Rietveld 408576698