| Index: third_party/WebKit/Source/modules/netinfo/NetworkInformation.cpp
|
| diff --git a/third_party/WebKit/Source/modules/netinfo/NetworkInformation.cpp b/third_party/WebKit/Source/modules/netinfo/NetworkInformation.cpp
|
| index d0f4b57be315bca61c832c045902f34b3024f8a4..eb7ddec8cbd0d9b48fea6842d77d78c8957fbc6e 100644
|
| --- a/third_party/WebKit/Source/modules/netinfo/NetworkInformation.cpp
|
| +++ b/third_party/WebKit/Source/modules/netinfo/NetworkInformation.cpp
|
| @@ -47,7 +47,7 @@ NetworkInformation* NetworkInformation::Create(ExecutionContext* context) {
|
| }
|
|
|
| NetworkInformation::~NetworkInformation() {
|
| - ASSERT(!observing_);
|
| + DCHECK(!observing_);
|
| }
|
|
|
| String NetworkInformation::type() const {
|
| @@ -69,7 +69,7 @@ double NetworkInformation::downlinkMax() const {
|
|
|
| void NetworkInformation::ConnectionChange(WebConnectionType type,
|
| double downlink_max_mbps) {
|
| - ASSERT(GetExecutionContext()->IsContextThread());
|
| + DCHECK(GetExecutionContext()->IsContextThread());
|
|
|
| // This can happen if the observer removes and then adds itself again
|
| // during notification.
|
| @@ -111,7 +111,7 @@ void NetworkInformation::RemovedEventListener(
|
|
|
| void NetworkInformation::RemoveAllEventListeners() {
|
| EventTargetWithInlineData::RemoveAllEventListeners();
|
| - ASSERT(!HasEventListeners());
|
| + DCHECK(!HasEventListeners());
|
| StopObserving();
|
| }
|
|
|
|
|