| Index: webrtc/base/httpcommon.h
|
| diff --git a/webrtc/base/httpcommon.h b/webrtc/base/httpcommon.h
|
| index 3450b58b568fa900e2e80135e28c0cdac4684d5e..896b40e6a94edd2ac5883eb627bb31c80707ca1d 100644
|
| --- a/webrtc/base/httpcommon.h
|
| +++ b/webrtc/base/httpcommon.h
|
| @@ -16,6 +16,7 @@
|
| #include <string>
|
| #include <vector>
|
| #include "webrtc/base/basictypes.h"
|
| +#include "webrtc/base/checks.h"
|
| #include "webrtc/base/common.h"
|
| #include "webrtc/base/stringutils.h"
|
| #include "webrtc/base/stream.h"
|
| @@ -254,14 +255,14 @@ public:
|
| if (val.empty()) {
|
| path_.assign(1, static_cast<CTYPE>('/'));
|
| } else {
|
| - ASSERT(val[0] == static_cast<CTYPE>('/'));
|
| + RTC_DCHECK(val[0] == static_cast<CTYPE>('/'));
|
| path_ = val;
|
| }
|
| }
|
| const string& path() const { return path_; }
|
|
|
| void set_query(const string& val) {
|
| - ASSERT(val.empty() || (val[0] == static_cast<CTYPE>('?')));
|
| + RTC_DCHECK(val.empty() || (val[0] == static_cast<CTYPE>('?')));
|
| query_ = val;
|
| }
|
| const string& query() const { return query_; }
|
|
|