Commit 05f9c805 authored by Dale Curtis's avatar Dale Curtis Committed by Commit Bot

Fix invalid ordering of std::move() and call to moved var.

BUG=786059
TEST=none

Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
Change-Id: Idc2e64f53f5a22ca8db71c69ddab42e50a83232e
Reviewed-on: https://chromium-review.googlesource.com/779702Reviewed-by: default avatarThomas Guilbert <tguilbert@chromium.org>
Commit-Queue: Dale Curtis <dalecurtis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#517904}
parent ac87317c
...@@ -170,7 +170,7 @@ void FrameBufferPool::OnVideoFrameDestroyed( ...@@ -170,7 +170,7 @@ void FrameBufferPool::OnVideoFrameDestroyed(
if (!task_runner->RunsTasksInCurrentSequence()) { if (!task_runner->RunsTasksInCurrentSequence()) {
task_runner->PostTask( task_runner->PostTask(
FROM_HERE, base::Bind(&FrameBufferPool::OnVideoFrameDestroyed, this, FROM_HERE, base::Bind(&FrameBufferPool::OnVideoFrameDestroyed, this,
std::move(task_runner), frame_buffer)); task_runner, frame_buffer));
return; return;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment