| Index: third_party/WebKit/Source/core/html/parser/HTMLTokenizer.h
|
| diff --git a/third_party/WebKit/Source/core/html/parser/HTMLTokenizer.h b/third_party/WebKit/Source/core/html/parser/HTMLTokenizer.h
|
| index 09335ac2a385ed663f252e87e5f1d934842be224..c7166a1359695fd12b0eb0290a286122b5bb860e 100644
|
| --- a/third_party/WebKit/Source/core/html/parser/HTMLTokenizer.h
|
| +++ b/third_party/WebKit/Source/core/html/parser/HTMLTokenizer.h
|
| @@ -31,6 +31,8 @@
|
| #include "core/html/parser/HTMLToken.h"
|
| #include "core/html/parser/InputStreamPreprocessor.h"
|
| #include "platform/text/SegmentedString.h"
|
| +#include "wtf/PtrUtil.h"
|
| +#include <memory>
|
|
|
| namespace blink {
|
|
|
| @@ -38,7 +40,7 @@ class HTMLTokenizer {
|
| WTF_MAKE_NONCOPYABLE(HTMLTokenizer);
|
| USING_FAST_MALLOC(HTMLTokenizer);
|
| public:
|
| - static PassOwnPtr<HTMLTokenizer> create(const HTMLParserOptions& options) { return adoptPtr(new HTMLTokenizer(options)); }
|
| + static std::unique_ptr<HTMLTokenizer> create(const HTMLParserOptions& options) { return wrapUnique(new HTMLTokenizer(options)); }
|
| ~HTMLTokenizer();
|
|
|
| void reset();
|
|
|