summaryrefslogtreecommitdiff
path: root/chromium/media/mojo/clients/mojo_decoder_factory.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/media/mojo/clients/mojo_decoder_factory.cc')
-rw-r--r--chromium/media/mojo/clients/mojo_decoder_factory.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/chromium/media/mojo/clients/mojo_decoder_factory.cc b/chromium/media/mojo/clients/mojo_decoder_factory.cc
index fa80f910d2a..a435f3f81fe 100644
--- a/chromium/media/mojo/clients/mojo_decoder_factory.cc
+++ b/chromium/media/mojo/clients/mojo_decoder_factory.cc
@@ -48,9 +48,6 @@ void MojoDecoderFactory::CreateVideoDecoders(
const gfx::ColorSpace& target_color_space,
std::vector<std::unique_ptr<VideoDecoder>>* video_decoders) {
#if BUILDFLAG(ENABLE_MOJO_VIDEO_DECODER)
- // If MojoVideoDecoder is not enabled, then return without adding anything.
- if (!base::FeatureList::IsEnabled(media::kMojoVideoDecoder))
- return;
mojom::VideoDecoderPtr video_decoder_ptr;
#if defined(OS_WIN)