| 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 c7166a1359695fd12b0eb0290a286122b5bb860e..09335ac2a385ed663f252e87e5f1d934842be224 100644
|
| --- a/third_party/WebKit/Source/core/html/parser/HTMLTokenizer.h
|
| +++ b/third_party/WebKit/Source/core/html/parser/HTMLTokenizer.h
|
| @@ -31,8 +31,6 @@
|
| #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 {
|
|
|
| @@ -40,7 +38,7 @@ class HTMLTokenizer {
|
| WTF_MAKE_NONCOPYABLE(HTMLTokenizer);
|
| USING_FAST_MALLOC(HTMLTokenizer);
|
| public:
|
| - static std::unique_ptr<HTMLTokenizer> create(const HTMLParserOptions& options) { return wrapUnique(new HTMLTokenizer(options)); }
|
| + static PassOwnPtr<HTMLTokenizer> create(const HTMLParserOptions& options) { return adoptPtr(new HTMLTokenizer(options)); }
|
| ~HTMLTokenizer();
|
|
|
| void reset();
|
|
|