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

Unified Diff: third_party/WebKit/Source/core/html/HTMLOptionsCollection.cpp

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/HTMLOptionsCollection.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLOptionsCollection.cpp b/third_party/WebKit/Source/core/html/HTMLOptionsCollection.cpp
index 1ab0fb1123cb930dbe08326ba1b7375b2cb94ac5..e126586e247ed2c9dd484e3a7bdf3fe1f9fce3f1 100644
--- a/third_party/WebKit/Source/core/html/HTMLOptionsCollection.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLOptionsCollection.cpp
@@ -63,9 +63,9 @@ void HTMLOptionsCollection::supportedPropertyNames(Vector<String>& names)
}
}
-PassRefPtrWillBeRawPtr<HTMLOptionsCollection> HTMLOptionsCollection::create(ContainerNode& select, CollectionType)
+RawPtr<HTMLOptionsCollection> HTMLOptionsCollection::create(ContainerNode& select, CollectionType)
{
- return adoptRefWillBeNoop(new HTMLOptionsCollection(select));
+ return new HTMLOptionsCollection(select);
}
void HTMLOptionsCollection::add(const HTMLOptionElementOrHTMLOptGroupElement& element, const HTMLElementOrLong& before, ExceptionState& exceptionState)
@@ -95,7 +95,7 @@ void HTMLOptionsCollection::setLength(unsigned length, ExceptionState& exception
void HTMLOptionsCollection::namedGetter(const AtomicString& name, NodeListOrElement& returnValue)
{
- WillBeHeapVector<RefPtrWillBeMember<Element>> namedItems;
+ HeapVector<Member<Element>> namedItems;
this->namedItems(name, namedItems);
if (!namedItems.size())
@@ -110,7 +110,7 @@ void HTMLOptionsCollection::namedGetter(const AtomicString& name, NodeListOrElem
returnValue.setNodeList(StaticElementList::adopt(namedItems));
}
-bool HTMLOptionsCollection::anonymousIndexedSetter(unsigned index, PassRefPtrWillBeRawPtr<HTMLOptionElement> value, ExceptionState& exceptionState)
+bool HTMLOptionsCollection::anonymousIndexedSetter(unsigned index, RawPtr<HTMLOptionElement> value, ExceptionState& exceptionState)
{
HTMLSelectElement& base = toHTMLSelectElement(ownerNode());
if (!value) { // undefined or null
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLOptionsCollection.h ('k') | third_party/WebKit/Source/core/html/HTMLOutputElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698