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

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, 10 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
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 bbe68cfb4903fca3a2ff89a2ac73b99d80992a51..ede9f70cb6c47e0f714ad22201dcdfe9381038e0 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::nodeType() const
return COMMENT_NODE;
}
-PassRefPtrWillBeRawPtr<Node> Comment::cloneNode(bool /*deep*/)
+RawPtr<Node> Comment::cloneNode(bool /*deep*/)
{
return create(document(), data());
}

Powered by Google App Engine
This is Rietveld 408576698