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

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, 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
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 fd008ab4ff6cf21bb2579de24e35fa419c310cb1..e87ecaa01caa8af2158fb60bb7ffd21c62a26a2a 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();
« no previous file with comments | « third_party/WebKit/Source/core/dom/DocumentFragment.h ('k') | third_party/WebKit/Source/core/dom/DocumentInit.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698