| Index: third_party/WebKit/Source/core/loader/SinkDocument.cpp
|
| diff --git a/third_party/WebKit/Source/core/loader/SinkDocument.cpp b/third_party/WebKit/Source/core/loader/SinkDocument.cpp
|
| index 7ecda83f146ed77e5397f90ef6328e72bb941de9..22136e90e708ee948ca0a64643c0e6919d6f5d41 100644
|
| --- a/third_party/WebKit/Source/core/loader/SinkDocument.cpp
|
| +++ b/third_party/WebKit/Source/core/loader/SinkDocument.cpp
|
| @@ -31,9 +31,9 @@ namespace blink {
|
|
|
| class SinkDocumentParser : public RawDataDocumentParser {
|
| public:
|
| - static PassRefPtrWillBeRawPtr<SinkDocumentParser> create(SinkDocument* document)
|
| + static RawPtr<SinkDocumentParser> create(SinkDocument* document)
|
| {
|
| - return adoptRefWillBeNoop(new SinkDocumentParser(document));
|
| + return new SinkDocumentParser(document);
|
| }
|
|
|
| private:
|
| @@ -53,7 +53,7 @@ SinkDocument::SinkDocument(const DocumentInit& initializer)
|
| lockCompatibilityMode();
|
| }
|
|
|
| -PassRefPtrWillBeRawPtr<DocumentParser> SinkDocument::createParser()
|
| +RawPtr<DocumentParser> SinkDocument::createParser()
|
| {
|
| return SinkDocumentParser::create(this);
|
| }
|
|
|