Commit 0fa81ba6 authored by Hajime Hoshi's avatar Hajime Hoshi Committed by Commit Bot

Refactoring: Use the given task runner instead of SingleThreadTaskRunnerForTesting

There is no need to use SingleThreadTaskRunnerForTesting here.

Bug: 870606
Change-Id: I2219ece19db82e1636f2cb83eb4570dd1d09b08f
Reviewed-on: https://chromium-review.googlesource.com/1253524Reviewed-by: default avatarAlexander Timin <altimin@chromium.org>
Reviewed-by: default avatarXiaohan Wang <xhwang@chromium.org>
Commit-Queue: Hajime Hoshi <hajimehoshi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#595724}
parent 95a4ab1f
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
#include "mojo/public/cpp/bindings/strong_binding.h" #include "mojo/public/cpp/bindings/strong_binding.h"
#include "testing/gmock/include/gmock/gmock.h" #include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h" #include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/platform/scheduler/test/renderer_scheduler_test_support.h"
#include "ui/gfx/geometry/rect.h" #include "ui/gfx/geometry/rect.h"
using ::testing::Invoke; using ::testing::Invoke;
...@@ -186,8 +185,7 @@ class VideoDecodeStatsReporterTest : public ::testing::Test { ...@@ -186,8 +185,7 @@ class VideoDecodeStatsReporterTest : public ::testing::Test {
std::move(recorder_ptr), std::move(recorder_ptr),
base::Bind(&VideoDecodeStatsReporterTest::GetPipelineStatsCB, base::Bind(&VideoDecodeStatsReporterTest::GetPipelineStatsCB,
base::Unretained(this)), base::Unretained(this)),
MakeDefaultVideoConfig(), MakeDefaultVideoConfig(), task_runner_,
blink::scheduler::GetSingleThreadTaskRunnerForTesting(),
task_runner_->GetMockTickClock()); task_runner_->GetMockTickClock());
} }
......
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