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

Unified Diff: Source/core/editing/Caret.cpp

Issue 299353004: Oilpan: move editing objects to the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Make test wrapper class finalized Created 6 years, 7 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 | « Source/core/editing/Caret.h ('k') | Source/core/editing/CompositeEditCommand.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/Caret.cpp
diff --git a/Source/core/editing/Caret.cpp b/Source/core/editing/Caret.cpp
index 2b3c1d6ccf2ebb25d5d785e3293dcadc09b02066..c8cbb2ed0d03abc5e70eab4906e9c8577af76886 100644
--- a/Source/core/editing/Caret.cpp
+++ b/Source/core/editing/Caret.cpp
@@ -46,9 +46,9 @@ DragCaretController::DragCaretController()
{
}
-PassOwnPtr<DragCaretController> DragCaretController::create()
+PassOwnPtrWillBeRawPtr<DragCaretController> DragCaretController::create()
{
- return adoptPtr(new DragCaretController);
+ return adoptPtrWillBeNoop(new DragCaretController);
}
bool DragCaretController::isContentRichlyEditable() const
@@ -100,6 +100,11 @@ void DragCaretController::nodeWillBeRemoved(Node& node)
clear();
}
+void DragCaretController::trace(Visitor* visitor)
+{
+ visitor->trace(m_position);
+}
+
void CaretBase::clearCaretRect()
{
m_caretLocalRect = LayoutRect();
« no previous file with comments | « Source/core/editing/Caret.h ('k') | Source/core/editing/CompositeEditCommand.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698