| Index: third_party/WebKit/Source/core/timing/PerformanceObserver.cpp
|
| diff --git a/third_party/WebKit/Source/core/timing/PerformanceObserver.cpp b/third_party/WebKit/Source/core/timing/PerformanceObserver.cpp
|
| index 57e44d09f7102cb5961d853b639e9b9d079d4a02..35f4c461b96d7ac9df152e8143652941b019b4a9 100644
|
| --- a/third_party/WebKit/Source/core/timing/PerformanceObserver.cpp
|
| +++ b/third_party/WebKit/Source/core/timing/PerformanceObserver.cpp
|
| @@ -20,7 +20,7 @@ PerformanceObserver* PerformanceObserver::Create(
|
| ExecutionContext* execution_context,
|
| PerformanceBase* performance,
|
| PerformanceObserverCallback* callback) {
|
| - ASSERT(IsMainThread());
|
| + DCHECK(IsMainThread());
|
| return new PerformanceObserver(execution_context, performance, callback);
|
| }
|
|
|
| @@ -70,7 +70,7 @@ void PerformanceObserver::disconnect() {
|
| }
|
|
|
| void PerformanceObserver::EnqueuePerformanceEntry(PerformanceEntry& entry) {
|
| - ASSERT(IsMainThread());
|
| + DCHECK(IsMainThread());
|
| performance_entries_.push_back(&entry);
|
| if (performance_)
|
| performance_->ActivateObserver(*this);
|
| @@ -81,7 +81,7 @@ bool PerformanceObserver::ShouldBeSuspended() const {
|
| }
|
|
|
| void PerformanceObserver::Deliver() {
|
| - ASSERT(!ShouldBeSuspended());
|
| + DCHECK(!ShouldBeSuspended());
|
|
|
| if (performance_entries_.IsEmpty())
|
| return;
|
|
|