Index: media/video/video_decode_accelerator.cc |
diff --git a/media/video/video_decode_accelerator.cc b/media/video/video_decode_accelerator.cc |
index 00ae88c1d1ca059e082f3be9744dae7aea84e98b..f99787a6fd0dc532aa48a907f32d8d196dfb0c2a 100644 |
--- a/media/video/video_decode_accelerator.cc |
+++ b/media/video/video_decode_accelerator.cc |
@@ -34,11 +34,9 @@ |
NOTREACHED() << "By default CDM is not supported."; |
} |
-bool VideoDecodeAccelerator::TryToSetupDecodeOnSeparateThread( |
- const base::WeakPtr<Client>& decode_client, |
- const scoped_refptr<base::SingleThreadTaskRunner>& decode_task_runner) { |
- // Implementations in the process that VDA runs in must override this. |
- LOG(FATAL) << "This may only be called in the same process as VDA impl."; |
+bool VideoDecodeAccelerator::CanDecodeOnIOThread() { |
+ // GPU process subclasses must override this. |
+ LOG(FATAL) << "This should only get called in the GPU process"; |
return false; // not reached |
} |