| Index: third_party/WebKit/Source/core/loader/ProgressTracker.cpp
|
| diff --git a/third_party/WebKit/Source/core/loader/ProgressTracker.cpp b/third_party/WebKit/Source/core/loader/ProgressTracker.cpp
|
| index 03bfef631c31253a24d8bbb2bc4557d65184c183..4aff408e1003ae0cd336f7b1bf4b801f8d39a871 100644
|
| --- a/third_party/WebKit/Source/core/loader/ProgressTracker.cpp
|
| +++ b/third_party/WebKit/Source/core/loader/ProgressTracker.cpp
|
| @@ -90,7 +90,7 @@ void ProgressTracker::dispose()
|
| {
|
| if (m_frame->isLoading())
|
| progressCompleted();
|
| - ASSERT(!m_frame->isLoading());
|
| + DCHECK(!m_frame->isLoading());
|
| }
|
|
|
| double ProgressTracker::estimatedProgress() const
|
| @@ -119,7 +119,7 @@ void ProgressTracker::progressStarted()
|
|
|
| void ProgressTracker::progressCompleted()
|
| {
|
| - ASSERT(m_frame->isLoading());
|
| + DCHECK(m_frame->isLoading());
|
| m_frame->setIsLoading(false);
|
| sendFinalProgress();
|
| reset();
|
| @@ -211,7 +211,7 @@ void ProgressTracker::maybeSendProgress()
|
| DCHECK_GE(m_progressValue, initialProgressValue);
|
| // Always leave space at the end. This helps show the user that we're not
|
| // done until we're done.
|
| - DCHECK(m_progressValue <= 0.9);
|
| + DCHECK_LE(m_progressValue, 0.9);
|
| if (m_progressValue < m_lastNotifiedProgressValue)
|
| return;
|
|
|
|
|