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

Unified Diff: third_party/WebKit/Source/core/dom/DocumentFragment.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/DocumentFragment.cpp
diff --git a/third_party/WebKit/Source/core/dom/DocumentFragment.cpp b/third_party/WebKit/Source/core/dom/DocumentFragment.cpp
index 87d98d122c4a117647ff0b7471bc257cd2f723ed..401388bf2ad1fe4ff53e4b51118bd6769dd2956b 100644
--- a/third_party/WebKit/Source/core/dom/DocumentFragment.cpp
+++ b/third_party/WebKit/Source/core/dom/DocumentFragment.cpp
@@ -33,9 +33,9 @@ DocumentFragment::DocumentFragment(Document* document, ConstructionType construc
{
}
-PassRefPtrWillBeRawPtr<DocumentFragment> DocumentFragment::create(Document& document)
+RawPtr<DocumentFragment> DocumentFragment::create(Document& document)
{
- return adoptRefWillBeNoop(new DocumentFragment(&document, Node::CreateDocumentFragment));
+ return (new DocumentFragment(&document, Node::CreateDocumentFragment));
}
String DocumentFragment::nodeName() const
@@ -62,9 +62,9 @@ bool DocumentFragment::childTypeAllowed(NodeType type) const
}
}
-PassRefPtrWillBeRawPtr<Node> DocumentFragment::cloneNode(bool deep)
+RawPtr<Node> DocumentFragment::cloneNode(bool deep)
{
- RefPtrWillBeRawPtr<DocumentFragment> clone = create(document());
+ RawPtr<DocumentFragment> clone = create(document());
if (deep)
cloneChildNodes(clone.get());
return clone.release();

Powered by Google App Engine
This is Rietveld 408576698