| Index: third_party/WebKit/Source/core/dom/DocumentParser.h
|
| diff --git a/third_party/WebKit/Source/core/dom/DocumentParser.h b/third_party/WebKit/Source/core/dom/DocumentParser.h
|
| index 3362c21eba50e63cb6ab57396f0f22cfd468ae44..9d6dfee66c3bd84474deaf16359444cc9582f0f0 100644
|
| --- a/third_party/WebKit/Source/core/dom/DocumentParser.h
|
| +++ b/third_party/WebKit/Source/core/dom/DocumentParser.h
|
| @@ -26,6 +26,7 @@
|
|
|
| #include "platform/heap/Handle.h"
|
| #include "wtf/Forward.h"
|
| +#include <memory>
|
|
|
| namespace blink {
|
|
|
| @@ -51,7 +52,7 @@ public:
|
| // The below functions are used by DocumentWriter (the loader).
|
| virtual void appendBytes(const char* bytes, size_t length) = 0;
|
| virtual bool needsDecoder() const { return false; }
|
| - virtual void setDecoder(PassOwnPtr<TextResourceDecoder>);
|
| + virtual void setDecoder(std::unique_ptr<TextResourceDecoder>);
|
| virtual TextResourceDecoder* decoder();
|
| virtual void setHasAppendedData() { }
|
|
|
|
|