| Index: talk/media/webrtc/webrtcvideoframe.cc
|
| diff --git a/talk/media/webrtc/webrtcvideoframe.cc b/talk/media/webrtc/webrtcvideoframe.cc
|
| index e72ab144f0e5480d9c9619542452d45863ed9bf3..932bf3c504e4e6c041b02586cbfcb9f4929b99e4 100644
|
| --- a/talk/media/webrtc/webrtcvideoframe.cc
|
| +++ b/talk/media/webrtc/webrtcvideoframe.cc
|
| @@ -177,7 +177,7 @@ VideoFrame* WebRtcVideoFrame::Copy() const {
|
| }
|
|
|
| bool WebRtcVideoFrame::MakeExclusive() {
|
| - DCHECK(video_frame_buffer_->native_handle() == nullptr);
|
| + RTC_DCHECK(video_frame_buffer_->native_handle() == nullptr);
|
| if (IsExclusive())
|
| return true;
|
|
|
| @@ -202,8 +202,8 @@ bool WebRtcVideoFrame::MakeExclusive() {
|
|
|
| size_t WebRtcVideoFrame::ConvertToRgbBuffer(uint32 to_fourcc, uint8* buffer,
|
| size_t size, int stride_rgb) const {
|
| - CHECK(video_frame_buffer_);
|
| - CHECK(video_frame_buffer_->native_handle() == nullptr);
|
| + RTC_CHECK(video_frame_buffer_);
|
| + RTC_CHECK(video_frame_buffer_->native_handle() == nullptr);
|
| return VideoFrame::ConvertToRgbBuffer(to_fourcc, buffer, size, stride_rgb);
|
| }
|
|
|
| @@ -296,7 +296,7 @@ const VideoFrame* WebRtcVideoFrame::GetCopyWithRotationApplied() const {
|
| // If the video frame is backed up by a native handle, it resides in the GPU
|
| // memory which we can't rotate here. The assumption is that the renderers
|
| // which uses GPU to render should be able to rotate themselves.
|
| - DCHECK(!GetNativeHandle());
|
| + RTC_DCHECK(!GetNativeHandle());
|
|
|
| if (rotated_frame_) {
|
| return rotated_frame_.get();
|
|
|