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

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

Issue 2741853009: Fix wrong display item type for drag caret (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
« no previous file with comments | « third_party/WebKit/LayoutTests/paint/selection/drag-caret.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/editing/CaretDisplayItemClient.cpp
diff --git a/third_party/WebKit/Source/core/editing/CaretDisplayItemClient.cpp b/third_party/WebKit/Source/core/editing/CaretDisplayItemClient.cpp
index f31f5fcfb70735f7da1a5d512d614ec8779192e1..0990fdef8cabca9e3bf7024048e5965ca2a6dc46 100644
--- a/third_party/WebKit/Source/core/editing/CaretDisplayItemClient.cpp
+++ b/third_party/WebKit/Source/core/editing/CaretDisplayItemClient.cpp
@@ -260,8 +260,7 @@ void CaretDisplayItemClient::paintCaret(
drawingRect.moveBy(paintOffset);
IntRect paintRect = pixelSnappedIntRect(drawingRect);
- DrawingRecorder drawingRecorder(context, *this, DisplayItem::kCaret,
- paintRect);
+ DrawingRecorder drawingRecorder(context, *this, displayItemType, paintRect);
context.fillRect(paintRect, m_color);
}
« no previous file with comments | « third_party/WebKit/LayoutTests/paint/selection/drag-caret.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698