| Index: cc/resources/video_resource_updater.cc
|
| diff --git a/cc/resources/video_resource_updater.cc b/cc/resources/video_resource_updater.cc
|
| index ec8b148c81c89447c898fd2e7a6a53d74544eb48..df428742c7ae8c72f9eb458120d0ed98501e8a34 100644
|
| --- a/cc/resources/video_resource_updater.cc
|
| +++ b/cc/resources/video_resource_updater.cc
|
| @@ -58,12 +58,6 @@ VideoFrameExternalResources VideoResourceUpdater::
|
|
|
| bool VideoResourceUpdater::VerifyFrame(
|
| const scoped_refptr<media::VideoFrame>& video_frame) {
|
| - // If these fail, we'll have to add logic that handles offset bitmap/texture
|
| - // UVs. For now, just expect (0, 0) offset, since all our decoders so far
|
| - // don't offset.
|
| - DCHECK_EQ(video_frame->visible_rect().x(), 0);
|
| - DCHECK_EQ(video_frame->visible_rect().y(), 0);
|
| -
|
| switch (video_frame->format()) {
|
| // Acceptable inputs.
|
| case media::VideoFrame::YV12:
|
|
|