| Index: third_party/WebKit/Source/core/editing/DragCaretController.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/DragCaretController.cpp b/third_party/WebKit/Source/core/editing/DragCaretController.cpp
|
| index 61f97229792aa4a98eaf1cf099db83375786edba..0ea817ca90ad3efcd4fff33d4df25c0cfa5652be 100644
|
| --- a/third_party/WebKit/Source/core/editing/DragCaretController.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/DragCaretController.cpp
|
| @@ -104,7 +104,6 @@ void DragCaretController::nodeWillBeRemoved(Node& node) {
|
|
|
| DEFINE_TRACE(DragCaretController) {
|
| visitor->trace(m_position);
|
| - visitor->trace(m_caretBase);
|
| SynchronousMutationObserver::trace(visitor);
|
| }
|
|
|
| @@ -112,9 +111,8 @@ void DragCaretController::paintDragCaret(LocalFrame* frame,
|
| GraphicsContext& context,
|
| const LayoutPoint& paintOffset) const {
|
| if (m_position.anchorNode()->document().frame() == frame) {
|
| - CaretBase::paintCaret(m_position.anchorNode(), context, *m_caretBase,
|
| - m_caretLocalRect, paintOffset,
|
| - DisplayItem::kDragCaret);
|
| + m_caretBase->paintCaret(m_position.anchorNode(), context, m_caretLocalRect,
|
| + paintOffset, DisplayItem::kDragCaret);
|
| }
|
| }
|
|
|
|
|