Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(430)

Unified Diff: third_party/WebKit/Source/core/html/DocumentNameCollection.h

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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)); }

Powered by Google App Engine
This is Rietveld 408576698