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

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

Issue 1958093002: CONTINUED Make FrameSelection to hold non-canonicalized positions Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 2017-01-16T20:04:35 Created 3 years, 11 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/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);
}
}
« no previous file with comments | « third_party/WebKit/Source/core/editing/DragCaretController.h ('k') | third_party/WebKit/Source/core/editing/FrameCaret.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698