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