| Index: webrtc/base/httpserver.cc
|
| diff --git a/webrtc/base/httpserver.cc b/webrtc/base/httpserver.cc
|
| index 1d3fcc60a51bb25d713b834e897ff8f433557b05..fee7a2c4c61779fda9509eefd214b34c3cb502cf 100644
|
| --- a/webrtc/base/httpserver.cc
|
| +++ b/webrtc/base/httpserver.cc
|
| @@ -13,6 +13,7 @@
|
| #include "webrtc/base/httpcommon-inl.h"
|
|
|
| #include "webrtc/base/asyncsocket.h"
|
| +#include "webrtc/base/checks.h"
|
| #include "webrtc/base/common.h"
|
| #include "webrtc/base/httpserver.h"
|
| #include "webrtc/base/logging.h"
|
| @@ -100,7 +101,7 @@ void
|
| HttpServer::Remove(int connection_id) {
|
| ConnectionMap::iterator it = connections_.find(connection_id);
|
| if (it == connections_.end()) {
|
| - ASSERT(false);
|
| + RTC_NOTREACHED();
|
| return;
|
| }
|
| Connection* connection = it->second;
|
| @@ -216,7 +217,7 @@ HttpServer::Connection::onHttpComplete(HttpMode mode, HttpError err) {
|
| current_->response.clear(true);
|
| base_.recv(¤t_->request);
|
| } else {
|
| - ASSERT(false);
|
| + RTC_NOTREACHED();
|
| }
|
| }
|
|
|
|
|