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

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

Issue 2627423002: Make FrameCaret contains CaretBase instead of deriving from it (Closed)
Patch Set: 2017-01-16T16:55:39 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.h
diff --git a/third_party/WebKit/Source/core/editing/DragCaretController.h b/third_party/WebKit/Source/core/editing/DragCaretController.h
index a001451c48f485763fe93e34215c70af738293b5..d02af83a80f95cfe58ea652a84b39cef306fc530 100644
--- a/third_party/WebKit/Source/core/editing/DragCaretController.h
+++ b/third_party/WebKit/Source/core/editing/DragCaretController.h
@@ -29,6 +29,7 @@
#include "core/dom/SynchronousMutationObserver.h"
#include "core/editing/CaretBase.h"
+#include <memory>
namespace blink {
@@ -66,7 +67,7 @@ class DragCaretController final
// caret rect in coords local to the layoutObject responsible for painting the
// caret
LayoutRect m_caretLocalRect;
- const Member<CaretBase> m_caretBase;
+ const std::unique_ptr<CaretBase> m_caretBase;
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/editing/CaretBase.cpp ('k') | third_party/WebKit/Source/core/editing/DragCaretController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698