| Index: third_party/WebKit/Source/core/html/imports/HTMLImport.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/imports/HTMLImport.cpp b/third_party/WebKit/Source/core/html/imports/HTMLImport.cpp
|
| index 7287a06a66b1d9eea71974de38f5607212bbb12b..ce76d106708d996e339f0d24f0aa5191198ee0f4 100644
|
| --- a/third_party/WebKit/Source/core/html/imports/HTMLImport.cpp
|
| +++ b/third_party/WebKit/Source/core/html/imports/HTMLImport.cpp
|
| @@ -101,13 +101,13 @@ void HTMLImport::recalcTreeState(HTMLImport* root)
|
| // Accidental cycle dependency of state computation is prevented
|
| // by invalidateCachedState() and isStateCacheValid() check.
|
| for (HTMLImport* i = traverseFirstPostOrder(root); i; i = traverseNextPostOrder(i)) {
|
| - ASSERT(!i->m_state.isValid());
|
| + DCHECK(!i->m_state.isValid());
|
| i->m_state = HTMLImportStateResolver(i).resolve();
|
|
|
| HTMLImportState newState = i->state();
|
| HTMLImportState oldState = snapshot.get(i);
|
| // Once the state reaches Ready, it shouldn't go back.
|
| - ASSERT(!oldState.isReady() || oldState <= newState);
|
| + DCHECK(!oldState.isReady() || oldState <= newState);
|
| if (newState != oldState)
|
| updated.append(i);
|
| }
|
|
|