| 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..7d9b7a055f328fe1e6065796c90fd009ca6b43f4 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)); }
|
|
|