| Index: third_party/WebKit/Source/core/dom/DocumentType.h
|
| diff --git a/third_party/WebKit/Source/core/dom/DocumentType.h b/third_party/WebKit/Source/core/dom/DocumentType.h
|
| index 85718c13010d7bb9024dc96a056f9bef04902d1c..e541501ec573bf33496c97e5190dbd4fbec16aae 100644
|
| --- a/third_party/WebKit/Source/core/dom/DocumentType.h
|
| +++ b/third_party/WebKit/Source/core/dom/DocumentType.h
|
| @@ -31,9 +31,9 @@ namespace blink {
|
| class DocumentType final : public Node {
|
| DEFINE_WRAPPERTYPEINFO();
|
| public:
|
| - static PassRefPtrWillBeRawPtr<DocumentType> create(Document* document, const String& name, const String& publicId, const String& systemId)
|
| + static RawPtr<DocumentType> create(Document* document, const String& name, const String& publicId, const String& systemId)
|
| {
|
| - return adoptRefWillBeNoop(new DocumentType(document, name, publicId, systemId));
|
| + return new DocumentType(document, name, publicId, systemId);
|
| }
|
|
|
| const String& name() const { return m_name; }
|
| @@ -45,7 +45,7 @@ private:
|
|
|
| String nodeName() const override;
|
| NodeType getNodeType() const override;
|
| - PassRefPtrWillBeRawPtr<Node> cloneNode(bool deep) override;
|
| + RawPtr<Node> cloneNode(bool deep) override;
|
|
|
| InsertionNotificationRequest insertedInto(ContainerNode*) override;
|
| void removedFrom(ContainerNode*) override;
|
|
|