Commit e9683c1b authored by Miguel Casas's avatar Miguel Casas Committed by Commit Bot

media/gpu/vaapi: fix DCHECK variable

crrev.com/c/2340365 recently landed a DCHECK() in VaapiWrapper ctor, but
erroneously used |decoder_task_runner| ISO |decoder_task_runner_|. This
CL fixes that.

Bug: b:162962069
Change-Id: I374a42b61ca9c182915baab909006a70991df6e6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2354590
Auto-Submit: Miguel Casas <mcasas@chromium.org>
Commit-Queue: Andres Calderon Jaramillo <andrescj@chromium.org>
Reviewed-by: default avatarAndres Calderon Jaramillo <andrescj@chromium.org>
Cr-Commit-Position: refs/heads/master@{#797743}
parent 985dd17c
...@@ -83,7 +83,7 @@ VaapiVideoDecoder::VaapiVideoDecoder( ...@@ -83,7 +83,7 @@ VaapiVideoDecoder::VaapiVideoDecoder(
buffer_id_to_timestamp_(kTimestampCacheSize), buffer_id_to_timestamp_(kTimestampCacheSize),
weak_this_factory_(this) { weak_this_factory_(this) {
VLOGF(2); VLOGF(2);
DCHECK(decoder_task_runner->RunsTasksInCurrentSequence()); DCHECK(decoder_task_runner_->RunsTasksInCurrentSequence());
DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_); DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_);
weak_this_ = weak_this_factory_.GetWeakPtr(); weak_this_ = weak_this_factory_.GetWeakPtr();
......
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