content: Disable SurfaceControl if AImageReader is disabled.

SurfaceControl requires AImageReader to support video overlays. Disable
it if AImageReader is disabled.

R=piman@chromium.org

Bug: 889328
Change-Id: I624f88b3759ce79eff296f75d82ac5a71616837d
Reviewed-on: https://chromium-review.googlesource.com/c/1431232
Commit-Queue: Khushal <khushalsagar@chromium.org>
Commit-Queue: Antoine Labour <piman@chromium.org>
Auto-Submit: Khushal <khushalsagar@chromium.org>
Reviewed-by: Antoine Labour <piman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#625348}
diff --git a/content/public/browser/gpu_utils.cc b/content/public/browser/gpu_utils.cc
index a02ca09..34212d7 100644
--- a/content/public/browser/gpu_utils.cc
+++ b/content/public/browser/gpu_utils.cc
@@ -57,6 +57,8 @@
 #else
   if (!base::FeatureList::IsEnabled(features::kVizDisplayCompositor))
     return false;
+  if (!base::FeatureList::IsEnabled(features::kAImageReaderMediaPlayer))
+    return false;
 
   return base::FeatureList::IsEnabled(features::kAndroidSurfaceControl);
 #endif