| Index: webrtc/p2p/base/candidate.h
|
| diff --git a/webrtc/p2p/base/candidate.h b/webrtc/p2p/base/candidate.h
|
| index 22d87b581153afb11debc903746d43e1a48e0c5f..992f49261728759522b59ad76aae4e8084ffeb96 100644
|
| --- a/webrtc/p2p/base/candidate.h
|
| +++ b/webrtc/p2p/base/candidate.h
|
| @@ -21,6 +21,7 @@
|
| #include <string>
|
|
|
| #include "webrtc/p2p/base/p2pconstants.h"
|
| +#include "webrtc/base/checks.h"
|
| #include "webrtc/base/helpers.h"
|
| #include "webrtc/base/network.h"
|
| #include "webrtc/base/socketaddress.h"
|
| @@ -148,7 +149,7 @@ class Candidate {
|
| // cost of 0 indicates this candidate can be used freely. A value of
|
| // rtc::kNetworkCostMax indicates it should be used only as the last resort.
|
| void set_network_cost(uint16_t network_cost) {
|
| - ASSERT(network_cost <= rtc::kNetworkCostMax);
|
| + RTC_DCHECK(network_cost <= rtc::kNetworkCostMax);
|
| network_cost_ = network_cost;
|
| }
|
| uint16_t network_cost() const { return network_cost_; }
|
|
|