| Index: third_party/WebKit/Source/core/html/DocumentNameCollection.h
|
| diff --git a/third_party/WebKit/Source/core/html/DocumentNameCollection.h b/third_party/WebKit/Source/core/html/DocumentNameCollection.h
|
| index 43b3f7e7ab7c508cbe553043b2588d072367328d..f3bd8366a7e5c724f470f1bef0e974bbb88fb2f0 100644
|
| --- a/third_party/WebKit/Source/core/html/DocumentNameCollection.h
|
| +++ b/third_party/WebKit/Source/core/html/DocumentNameCollection.h
|
| @@ -12,10 +12,10 @@ namespace blink {
|
|
|
| class DocumentNameCollection final : public HTMLNameCollection {
|
| public:
|
| - static PassRefPtrWillBeRawPtr<DocumentNameCollection> create(ContainerNode& document, CollectionType type, const AtomicString& name)
|
| + static RawPtr<DocumentNameCollection> create(ContainerNode& document, CollectionType type, const AtomicString& name)
|
| {
|
| ASSERT_UNUSED(type, type == DocumentNamedItems);
|
| - return adoptRefWillBeNoop(new DocumentNameCollection(document, name));
|
| + return new DocumentNameCollection(document, name);
|
| }
|
|
|
| HTMLElement* item(unsigned offset) const { return toHTMLElement(HTMLNameCollection::item(offset)); }
|
|
|