Index: Source/core/editing/Caret.h |
diff --git a/Source/core/editing/Caret.h b/Source/core/editing/Caret.h |
index 3d9f9eba45c01a49fdb3a904a670547878173b25..3c3d337c766fef7b02bd289e22560d5a40ddae17 100644 |
--- a/Source/core/editing/Caret.h |
+++ b/Source/core/editing/Caret.h |
@@ -40,7 +40,7 @@ class RenderView; |
class CaretBase { |
WTF_MAKE_NONCOPYABLE(CaretBase); |
- WTF_MAKE_FAST_ALLOCATED; |
+ WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED; |
protected: |
enum CaretVisibility { Visible, Hidden }; |
explicit CaretBase(CaretVisibility = Hidden); |
@@ -71,11 +71,11 @@ private: |
CaretVisibility m_caretVisibility; |
}; |
-class DragCaretController : private CaretBase { |
+class DragCaretController FINAL : public NoBaseWillBeGarbageCollected<DragCaretController>, private CaretBase { |
WTF_MAKE_NONCOPYABLE(DragCaretController); |
- WTF_MAKE_FAST_ALLOCATED; |
+ WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED; |
public: |
- static PassOwnPtr<DragCaretController> create(); |
+ static PassOwnPtrWillBeRawPtr<DragCaretController> create(); |
RenderObject* caretRenderer() const; |
void paintDragCaret(LocalFrame*, GraphicsContext*, const LayoutPoint&, const LayoutRect& clipRect) const; |
@@ -90,6 +90,8 @@ public: |
void nodeWillBeRemoved(Node&); |
+ void trace(Visitor*); |
+ |
private: |
DragCaretController(); |