Index: content/common/gpu/media/android_video_decode_accelerator.h |
diff --git a/content/common/gpu/media/android_video_decode_accelerator.h b/content/common/gpu/media/android_video_decode_accelerator.h |
index e79f0c070c127389bc8dc24c91f00a889612a40d..3c80c2d28696bcaa98b3d00bcb5b7302b29cbdd9 100644 |
--- a/content/common/gpu/media/android_video_decode_accelerator.h |
+++ b/content/common/gpu/media/android_video_decode_accelerator.h |
@@ -161,6 +161,9 @@ class CONTENT_EXPORT AndroidVideoDecodeAccelerator |
// Notifies about decoding errors. |
void NotifyError(media::VideoDecodeAccelerator::Error error); |
+ // Return true if and only if we should use deferred rendering. |
+ static bool UseDeferredRenderingStrategy(); |
+ |
// Used to DCHECK that we are called on the correct thread. |
base::ThreadChecker thread_checker_; |