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

Unified Diff: third_party/WebKit/Source/core/dom/ClassCollection.h

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/ChildNodeList.h ('k') | third_party/WebKit/Source/core/dom/Comment.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/ClassCollection.h
diff --git a/third_party/WebKit/Source/core/dom/ClassCollection.h b/third_party/WebKit/Source/core/dom/ClassCollection.h
index 4487fbe939636e1bcd2a4279825edc809f3ac0a1..2f9a968cfeb95bd8f26e5b0d851b9c97196738dc 100644
--- a/third_party/WebKit/Source/core/dom/ClassCollection.h
+++ b/third_party/WebKit/Source/core/dom/ClassCollection.h
@@ -40,10 +40,10 @@ class ClassCollection final : public HTMLCollection {
public:
// classNames argument is an AtomicString because it is common for Elements to share the same class names.
// It is also used to construct a SpaceSplitString (m_classNames) and its constructor requires an AtomicString.
- static PassRefPtrWillBeRawPtr<ClassCollection> create(ContainerNode& rootNode, CollectionType type, const AtomicString& classNames)
+ static RawPtr<ClassCollection> create(ContainerNode& rootNode, CollectionType type, const AtomicString& classNames)
{
ASSERT_UNUSED(type, type == ClassCollectionType);
- return adoptRefWillBeNoop(new ClassCollection(rootNode, classNames));
+ return new ClassCollection(rootNode, classNames);
}
~ClassCollection() override;
« no previous file with comments | « third_party/WebKit/Source/core/dom/ChildNodeList.h ('k') | third_party/WebKit/Source/core/dom/Comment.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698