Index: content/common/gpu/media/gpu_video_decode_accelerator.h |
diff --git a/content/common/gpu/media/gpu_video_decode_accelerator.h b/content/common/gpu/media/gpu_video_decode_accelerator.h |
index aa36bf17b64f5f3bb4b7fbce6346ab4adcb42fe6..ac9b1181de19d10abd28aabc265056f0314b88cc 100644 |
--- a/content/common/gpu/media/gpu_video_decode_accelerator.h |
+++ b/content/common/gpu/media/gpu_video_decode_accelerator.h |
@@ -109,6 +109,9 @@ class GpuVideoDecodeAccelerator |
uint32_t texture_target, |
scoped_refptr<gl::GLImage> image); |
+ // Helper function to call NotifyError in the |child_task_runner_| thread. |
+ void CallOrPostNotifyError(media::VideoDecodeAccelerator::Error error); |
+ |
// Route ID to communicate with the host. |
const int32_t host_route_id_; |