| Index: Source/core/dom/DecodedDataDocumentParser.h
|
| diff --git a/Source/core/dom/DecodedDataDocumentParser.h b/Source/core/dom/DecodedDataDocumentParser.h
|
| index 979310d4874ea3d04e570ac5333e845432820d38..453147d0ecdbddad2e90e7e9cda345afa016b534 100644
|
| --- a/Source/core/dom/DecodedDataDocumentParser.h
|
| +++ b/Source/core/dom/DecodedDataDocumentParser.h
|
| @@ -42,11 +42,10 @@ public:
|
| // The below functions are used by DocumentWriter (the loader).
|
| virtual void appendBytes(const char* bytes, size_t length) OVERRIDE;
|
| virtual void flush() OVERRIDE;
|
| - virtual bool needsDecoder() const OVERRIDE { return m_needsDecoder; }
|
| + virtual bool needsDecoder() const OVERRIDE { return !m_decoder; }
|
| virtual void setDecoder(PassOwnPtr<TextResourceDecoder>) OVERRIDE;
|
| virtual TextResourceDecoder* decoder() OVERRIDE;
|
| -
|
| - PassOwnPtr<TextResourceDecoder> takeDecoder();
|
| + virtual void setHasAppendedData() OVERRIDE;
|
|
|
| protected:
|
| explicit DecodedDataDocumentParser(Document*);
|
| @@ -58,7 +57,7 @@ private:
|
|
|
| void updateDocument(String& decodedData);
|
|
|
| - bool m_needsDecoder;
|
| + bool m_hasAppendedData;
|
| OwnPtr<TextResourceDecoder> m_decoder;
|
| };
|
|
|
|
|