Index: third_party/WebKit/Source/core/editing/Editor.cpp |
diff --git a/third_party/WebKit/Source/core/editing/Editor.cpp b/third_party/WebKit/Source/core/editing/Editor.cpp |
index e705c69ea928890ad10b044d34565c05d1b26a6b..4c2e91210c6794e517bcaa960ad39eaa43fca1dc 100644 |
--- a/third_party/WebKit/Source/core/editing/Editor.cpp |
+++ b/third_party/WebKit/Source/core/editing/Editor.cpp |
@@ -87,6 +87,7 @@ |
#include "core/svg/SVGImageElement.h" |
#include "platform/KillRing.h" |
#include "platform/weborigin/KURL.h" |
+#include "wtf/PtrUtil.h" |
#include "wtf/text/CharacterNames.h" |
namespace blink { |
@@ -768,7 +769,7 @@ Editor::Editor(LocalFrame& frame) |
, m_shouldStartNewKillRingSequence(false) |
// This is off by default, since most editors want this behavior (this matches IE but not FF). |
, m_shouldStyleWithCSS(false) |
- , m_killRing(adoptPtr(new KillRing)) |
+ , m_killRing(wrapUnique(new KillRing)) |
, m_areMarkedTextMatchesHighlighted(false) |
, m_defaultParagraphSeparator(EditorParagraphSeparatorIsDiv) |
, m_overwriteModeEnabled(false) |