| Index: third_party/WebKit/Source/core/html/HTMLLIElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLLIElement.cpp b/third_party/WebKit/Source/core/html/HTMLLIElement.cpp
|
| index 924a08421c391dcfe69aba11699225a483faa9d5..8899ac688972b2433fa2e9a20bec48a9546b9999 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLLIElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLLIElement.cpp
|
| @@ -98,7 +98,7 @@ void HTMLLIElement::attachLayoutTree(const AttachContext& context)
|
| if (layoutObject() && layoutObject()->isListItem()) {
|
| LayoutLIItem liLayoutItem = LayoutLIItem(toLayoutListItem(layoutObject()));
|
|
|
| - ASSERT(!document().childNeedsDistributionRecalc());
|
| + DCHECK(!document().childNeedsDistributionRecalc());
|
|
|
| // Find the enclosing list node.
|
| Element* listNode = 0;
|
| @@ -122,7 +122,8 @@ void HTMLLIElement::attachLayoutTree(const AttachContext& context)
|
|
|
| inline void HTMLLIElement::parseValue(const AtomicString& value)
|
| {
|
| - ASSERT(layoutObject() && layoutObject()->isListItem());
|
| + DCHECK(layoutObject());
|
| + DCHECK(layoutObject()->isListItem());
|
|
|
| bool valueOK;
|
| int requestedValue = value.toInt(&valueOK);
|
|
|