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 1aff69b278f5782faaad05c065b26a55e207317a..bb6445f31da4810478d80c91d73082e6286c086f 100644 |
--- a/content/common/gpu/media/gpu_video_decode_accelerator.h |
+++ b/content/common/gpu/media/gpu_video_decode_accelerator.h |
@@ -113,6 +113,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_; |