| Index: third_party/WebKit/Source/core/dom/Comment.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/Comment.cpp b/third_party/WebKit/Source/core/dom/Comment.cpp
|
| index a223466af7861d8b0ac87809a8985442f7d8755a..49852eca75a2f4cb56ae2785e1fa527599e45dd1 100644
|
| --- a/third_party/WebKit/Source/core/dom/Comment.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Comment.cpp
|
| @@ -30,9 +30,9 @@ inline Comment::Comment(Document& document, const String& text)
|
| {
|
| }
|
|
|
| -PassRefPtrWillBeRawPtr<Comment> Comment::create(Document& document, const String& text)
|
| +RawPtr<Comment> Comment::create(Document& document, const String& text)
|
| {
|
| - return adoptRefWillBeNoop(new Comment(document, text));
|
| + return new Comment(document, text);
|
| }
|
|
|
| String Comment::nodeName() const
|
| @@ -45,7 +45,7 @@ Node::NodeType Comment::getNodeType() const
|
| return COMMENT_NODE;
|
| }
|
|
|
| -PassRefPtrWillBeRawPtr<Node> Comment::cloneNode(bool /*deep*/)
|
| +RawPtr<Node> Comment::cloneNode(bool /*deep*/)
|
| {
|
| return create(document(), data());
|
| }
|
|
|