Index: cc/resources/video_resource_updater.cc |
diff --git a/cc/resources/video_resource_updater.cc b/cc/resources/video_resource_updater.cc |
index 4c6b21619b2de28f55d5e6f1aeb935a028326d36..02986b4ca30f290c13807ad78a240e9a50943bb9 100644 |
--- a/cc/resources/video_resource_updater.cc |
+++ b/cc/resources/video_resource_updater.cc |
@@ -432,10 +432,7 @@ VideoFrameExternalResources VideoResourceUpdater::CreateForSoftwarePlanes( |
DCHECK_NE(bits_per_channel, 16); |
// Only YUV software video frames are supported. |
- if (!media::IsYuvPlanar(input_frame_format)) { |
- NOTREACHED() << media::VideoPixelFormatToString(input_frame_format); |
- return VideoFrameExternalResources(); |
- } |
+ DCHECK(media::IsYuvPlanar(input_frame_format)); |
const bool software_compositor = context_provider_ == NULL; |