| Index: webrtc/base/buffer.h
|
| diff --git a/webrtc/base/buffer.h b/webrtc/base/buffer.h
|
| index 6ae49f7a8f74e07816d362f5f1032b043f5f1c68..44f941eb60b2bb1016874d6f94bbda52a759f10a 100644
|
| --- a/webrtc/base/buffer.h
|
| +++ b/webrtc/base/buffer.h
|
| @@ -349,7 +349,7 @@ class BufferT {
|
| // Called when *this has been moved from. Conceptually it's a no-op, but we
|
| // can mutate the state slightly to help subsequent sanity checks catch bugs.
|
| void OnMovedFrom() {
|
| -#ifdef NDEBUG
|
| +#if RTC_DCHECK_IS_ON
|
| // Make *this consistent and empty. Shouldn't be necessary, but better safe
|
| // than sorry.
|
| size_ = 0;
|
|
|