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 9d6dfee66c3bd84474deaf16359444cc9582f0f0..3362c21eba50e63cb6ab57396f0f22cfd468ae44 100644 |
--- a/third_party/WebKit/Source/core/dom/DocumentParser.h |
+++ b/third_party/WebKit/Source/core/dom/DocumentParser.h |
@@ -26,7 +26,6 @@ |
#include "platform/heap/Handle.h" |
#include "wtf/Forward.h" |
-#include <memory> |
namespace blink { |
@@ -52,7 +51,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(std::unique_ptr<TextResourceDecoder>); |
+ virtual void setDecoder(PassOwnPtr<TextResourceDecoder>); |
virtual TextResourceDecoder* decoder(); |
virtual void setHasAppendedData() { } |