| 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 a48e5e5c1961e1082da369e91fe54262a7a8d7cf..24fa19d25e1985791c3de00c5adef6244c5c2155 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLOptionsCollection.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLOptionsCollection.cpp
|
| @@ -35,7 +35,7 @@ namespace blink {
|
| HTMLOptionsCollection::HTMLOptionsCollection(ContainerNode& select)
|
| : HTMLCollection(select, SelectOptions, DoesNotOverrideItemAfter)
|
| {
|
| - ASSERT(isHTMLSelectElement(select));
|
| + DCHECK(isHTMLSelectElement(select));
|
| }
|
|
|
| void HTMLOptionsCollection::supportedPropertyNames(Vector<String>& names)
|
| @@ -48,7 +48,7 @@ void HTMLOptionsCollection::supportedPropertyNames(Vector<String>& names)
|
| unsigned length = this->length();
|
| for (unsigned i = 0; i < length; ++i) {
|
| Element* element = item(i);
|
| - ASSERT(element);
|
| + DCHECK(element);
|
| const AtomicString& idAttribute = element->getIdAttribute();
|
| if (!idAttribute.isEmpty()) {
|
| HashSet<AtomicString>::AddResult addResult = existingNames.add(idAttribute);
|
|
|