diff options
Diffstat (limited to 'Source/WebCore/dom/DecodedDataDocumentParser.h')
-rw-r--r-- | Source/WebCore/dom/DecodedDataDocumentParser.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/Source/WebCore/dom/DecodedDataDocumentParser.h b/Source/WebCore/dom/DecodedDataDocumentParser.h index 34934ecba..bbb06a3e8 100644 --- a/Source/WebCore/dom/DecodedDataDocumentParser.h +++ b/Source/WebCore/dom/DecodedDataDocumentParser.h @@ -23,8 +23,7 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef DecodedDataDocumentParser_h -#define DecodedDataDocumentParser_h +#pragma once #include "DocumentParser.h" @@ -41,13 +40,11 @@ protected: private: // append is used by DocumentWriter::replaceDocument. - virtual void append(PassRefPtr<StringImpl>) = 0; + void append(RefPtr<StringImpl>&&) override = 0; // appendBytes and flush are used by DocumentWriter (the loader). - virtual void appendBytes(DocumentWriter&, const char* bytes, size_t length) override; - virtual void flush(DocumentWriter&) override; + void appendBytes(DocumentWriter&, const char* bytes, size_t length) override; + void flush(DocumentWriter&) override; }; -} - -#endif // DecodedDataDocumentParser_h +} // namespace WebCore |