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

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

Issue 2736213002: 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 03148bbd7cb508b7361178b61f323504a17cf2ac..4cc7856aa5c14dede1859580955edb1113b2243e 100644
--- a/third_party/WebKit/Source/core/editing/FrameSelection.cpp
+++ b/third_party/WebKit/Source/core/editing/FrameSelection.cpp
@@ -452,9 +452,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