| Index: third_party/WebKit/Source/core/dom/DocumentLifecycle.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/DocumentLifecycle.cpp b/third_party/WebKit/Source/core/dom/DocumentLifecycle.cpp
|
| index 72211379cae4ebb06500584bd6a8d00c44ee8c04..f68a509f2c66ca3a4cdde296a33d6417eaf63f96 100644
|
| --- a/third_party/WebKit/Source/core/dom/DocumentLifecycle.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/DocumentLifecycle.cpp
|
| @@ -72,7 +72,7 @@ DocumentLifecycle::AllowThrottlingScope::AllowThrottlingScope(DocumentLifecycle&
|
|
|
| DocumentLifecycle::AllowThrottlingScope::~AllowThrottlingScope()
|
| {
|
| - ASSERT(s_allowThrottlingCount > 0);
|
| + DCHECK_GT(s_allowThrottlingCount, 0u);
|
| s_allowThrottlingCount--;
|
| }
|
|
|
| @@ -276,7 +276,7 @@ void DocumentLifecycle::advanceTo(LifecycleState nextState)
|
|
|
| void DocumentLifecycle::ensureStateAtMost(LifecycleState state)
|
| {
|
| - ASSERT(state == VisualUpdatePending || state == StyleClean || state == LayoutClean);
|
| + DCHECK(state == VisualUpdatePending || state == StyleClean || state == LayoutClean);
|
| if (m_state <= state)
|
| return;
|
| #if DCHECK_IS_ON()
|
|
|