Index: third_party/WebKit/Source/core/html/parser/HTMLToken.h |
diff --git a/third_party/WebKit/Source/core/html/parser/HTMLToken.h b/third_party/WebKit/Source/core/html/parser/HTMLToken.h |
index 3c90de9d0e43e1797648b23f5abdb7d48e37c3d2..679a187e1d1a14bdd36a685985f7846369b99ad0 100644 |
--- a/third_party/WebKit/Source/core/html/parser/HTMLToken.h |
+++ b/third_party/WebKit/Source/core/html/parser/HTMLToken.h |
@@ -29,7 +29,8 @@ |
#include "core/dom/Attribute.h" |
#include "core/html/parser/HTMLParserIdioms.h" |
#include "wtf/Forward.h" |
-#include "wtf/PassOwnPtr.h" |
+#include "wtf/PtrUtil.h" |
+#include <memory> |
namespace blink { |
@@ -199,7 +200,7 @@ public: |
{ |
ASSERT(m_type == Uninitialized); |
m_type = DOCTYPE; |
- m_doctypeData = adoptPtr(new DoctypeData); |
+ m_doctypeData = wrapUnique(new DoctypeData); |
} |
void beginDOCTYPE(UChar character) |
@@ -254,7 +255,7 @@ public: |
m_doctypeData->m_systemIdentifier.append(character); |
} |
- PassOwnPtr<DoctypeData> releaseDoctypeData() |
+ std::unique_ptr<DoctypeData> releaseDoctypeData() |
{ |
return std::move(m_doctypeData); |
} |
@@ -472,7 +473,7 @@ private: |
Attribute* m_currentAttribute; |
// For DOCTYPE |
- OwnPtr<DoctypeData> m_doctypeData; |
+ std::unique_ptr<DoctypeData> m_doctypeData; |
}; |
} // namespace blink |