| Index: webrtc/p2p/base/candidate.h
|
| diff --git a/webrtc/p2p/base/candidate.h b/webrtc/p2p/base/candidate.h
|
| index 992f49261728759522b59ad76aae4e8084ffeb96..5073aeb32212aec33a661da29ace6a562c47f1a7 100644
|
| --- a/webrtc/p2p/base/candidate.h
|
| +++ b/webrtc/p2p/base/candidate.h
|
| @@ -149,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) {
|
| - RTC_DCHECK(network_cost <= rtc::kNetworkCostMax);
|
| + RTC_DCHECK_LE(network_cost, rtc::kNetworkCostMax);
|
| network_cost_ = network_cost;
|
| }
|
| uint16_t network_cost() const { return network_cost_; }
|
|
|