| Index: webrtc/modules/video_capture/video_capture_impl.cc
 | 
| diff --git a/webrtc/modules/video_capture/video_capture_impl.cc b/webrtc/modules/video_capture/video_capture_impl.cc
 | 
| index 3013a7def06042c3c9e5e3f6e46b92a385b1d29b..81f6311e650659a5835dffef472ed355522ba3c7 100644
 | 
| --- a/webrtc/modules/video_capture/video_capture_impl.cc
 | 
| +++ b/webrtc/modules/video_capture/video_capture_impl.cc
 | 
| @@ -278,16 +278,10 @@ int32_t VideoCaptureImpl::IncomingFrame(
 | 
|          // Setting absolute height (in case it was negative).
 | 
|          // In Windows, the image starts bottom left, instead of top left.
 | 
|          // Setting a negative source height, inverts the image (within LibYuv).
 | 
| -        int ret = _captureFrame.CreateEmptyFrame(target_width,
 | 
| -                                                 abs(target_height),
 | 
| -                                                 stride_y,
 | 
| -                                                 stride_uv, stride_uv);
 | 
| -        if (ret < 0)
 | 
| -        {
 | 
| -            LOG(LS_ERROR) << "Failed to create empty frame, this should only "
 | 
| -                             "happen due to bad parameters.";
 | 
| -            return -1;
 | 
| -        }
 | 
| +        _captureFrame.CreateEmptyFrame(target_width,
 | 
| +                                       abs(target_height),
 | 
| +                                       stride_y,
 | 
| +                                       stride_uv, stride_uv);
 | 
|          const int conversionResult = ConvertToI420(
 | 
|              commonVideoType, videoFrame, 0, 0,  // No cropping
 | 
|              width, height, videoFrameLength,
 | 
| 
 |