Index: Source/core/dom/NameNodeList.h |
diff --git a/Source/core/dom/NameNodeList.h b/Source/core/dom/NameNodeList.h |
index 438a16477436b40c609e767f1bdf4a1007144eeb..96c2f104ffa8c04bfa2d31b9dce2d2089f5590a6 100644 |
--- a/Source/core/dom/NameNodeList.h |
+++ b/Source/core/dom/NameNodeList.h |
@@ -33,10 +33,10 @@ namespace WebCore { |
// NodeList which lists all Nodes in a Element with a given "name" attribute |
class NameNodeList FINAL : public LiveNodeList { |
public: |
- static PassRefPtr<NameNodeList> create(ContainerNode& rootNode, CollectionType type, const AtomicString& name) |
+ static PassRefPtrWillBeRawPtr<NameNodeList> create(ContainerNode& rootNode, CollectionType type, const AtomicString& name) |
{ |
ASSERT_UNUSED(type, type == NameNodeListType); |
- return adoptRef(new NameNodeList(rootNode, name)); |
+ return adoptRefWillBeNoop(new NameNodeList(rootNode, name)); |
} |
virtual ~NameNodeList(); |