| 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;
|
|
|