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