Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(225)

Unified Diff: third_party/WebKit/Source/core/dom/Comment.cpp

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/core/dom/Comment.h ('k') | third_party/WebKit/Source/core/dom/ContainerNode.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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());
}
« no previous file with comments | « third_party/WebKit/Source/core/dom/Comment.h ('k') | third_party/WebKit/Source/core/dom/ContainerNode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698