Index: webrtc/common_video/i420_buffer_pool.cc |
diff --git a/webrtc/common_video/i420_buffer_pool.cc b/webrtc/common_video/i420_buffer_pool.cc |
index cb1f4d4022d49c7fd037fec9861562beb47b7acb..c746666a16a393569ab23d01aa6cd2a05ee13688 100644 |
--- a/webrtc/common_video/i420_buffer_pool.cc |
+++ b/webrtc/common_video/i420_buffer_pool.cc |
@@ -32,7 +32,7 @@ class PooledI420Buffer : public webrtc::VideoFrameBuffer { |
uint8_t* MutableData(webrtc::PlaneType type) override { |
// Make the HasOneRef() check here instead of in |buffer_|, because the pool |
// also has a reference to |buffer_|. |
- DCHECK(HasOneRef()); |
+ RTC_DCHECK(HasOneRef()); |
return const_cast<uint8_t*>(buffer_->data(type)); |
} |
int stride(webrtc::PlaneType type) const override { |
@@ -64,7 +64,7 @@ void I420BufferPool::Release() { |
rtc::scoped_refptr<VideoFrameBuffer> I420BufferPool::CreateBuffer(int width, |
int height) { |
- DCHECK(thread_checker_.CalledOnValidThread()); |
+ RTC_DCHECK(thread_checker_.CalledOnValidThread()); |
// Release buffers with wrong resolution. |
for (auto it = buffers_.begin(); it != buffers_.end();) { |
if ((*it)->width() != width || (*it)->height() != height) |