Index: cc/resources/video_resource_updater.cc |
diff --git a/cc/resources/video_resource_updater.cc b/cc/resources/video_resource_updater.cc |
index 836f2ce5956f0a63ba40fafd387cf052e302a888..032414442f607c6c0fd46f3535fc4133ba49b149 100644 |
--- a/cc/resources/video_resource_updater.cc |
+++ b/cc/resources/video_resource_updater.cc |
@@ -306,7 +306,8 @@ void VideoResourceUpdater::ReturnTexture( |
base::WeakPtr<VideoResourceUpdater> updater, |
const scoped_refptr<media::VideoFrame>& video_frame, |
uint32 sync_point, |
- bool lost_resource) { |
+ bool lost_resource, |
+ BlockingTaskRunner* main_thread_task_runner) { |
// TODO(dshwang) this case should be forwarded to the decoder as lost |
// resource. |
if (lost_resource || !updater.get()) |
@@ -362,7 +363,8 @@ void VideoResourceUpdater::RecycleResource( |
base::WeakPtr<VideoResourceUpdater> updater, |
RecycleResourceData data, |
uint32 sync_point, |
- bool lost_resource) { |
+ bool lost_resource, |
+ BlockingTaskRunner* main_thread_task_runner) { |
if (!updater.get()) { |
// Resource was already deleted. |
return; |