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

Unified Diff: third_party/WebKit/Source/core/html/HTMLTagCollection.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/HTMLTagCollection.h
diff --git a/third_party/WebKit/Source/core/html/HTMLTagCollection.h b/third_party/WebKit/Source/core/html/HTMLTagCollection.h
index e42d78a72d71b22dc3d2fe4e5befdab95ce0b9b6..b7a56ea098061534b3106588d23cb0028e826481 100644
--- a/third_party/WebKit/Source/core/html/HTMLTagCollection.h
+++ b/third_party/WebKit/Source/core/html/HTMLTagCollection.h
@@ -33,10 +33,10 @@ namespace blink {
// Collection that limits to a particular tag and whose rootNode is in an HTMLDocument.
class HTMLTagCollection final : public TagCollection {
public:
- static PassRefPtrWillBeRawPtr<HTMLTagCollection> create(ContainerNode& rootNode, CollectionType type, const AtomicString& localName)
+ static RawPtr<HTMLTagCollection> create(ContainerNode& rootNode, CollectionType type, const AtomicString& localName)
{
ASSERT_UNUSED(type, type == HTMLTagCollectionType);
- return adoptRefWillBeNoop(new HTMLTagCollection(rootNode, localName));
+ return new HTMLTagCollection(rootNode, localName);
}
bool elementMatches(const Element&) const;

Powered by Google App Engine
This is Rietveld 408576698