Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1009)

Unified Diff: media/base/demuxer_perftest.cc

Issue 2840593002: Remove usage of ScopedTaskScheduler. (Closed)
Patch Set: revert_client_cert_resolver_and_auto_connect_handler Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: media/base/demuxer_perftest.cc
diff --git a/media/base/demuxer_perftest.cc b/media/base/demuxer_perftest.cc
index 4bfbaef61ecf8928e1d5e512e77f77991d1f7d78..83cd977c648ec9f9a9b2cc6e6061b1142071926a 100644
--- a/media/base/demuxer_perftest.cc
+++ b/media/base/demuxer_perftest.cc
@@ -9,10 +9,9 @@
#include "base/at_exit.h"
#include "base/bind.h"
#include "base/macros.h"
-#include "base/message_loop/message_loop.h"
#include "base/run_loop.h"
#include "base/strings/string_number_conversions.h"
-#include "base/test/scoped_task_scheduler.h"
+#include "base/test/scoped_task_environment.h"
#include "base/threading/thread_task_runner_handle.h"
#include "base/time/time.h"
#include "build/build_config.h"
@@ -181,7 +180,7 @@ static void RunDemuxerBenchmark(const std::string& filename) {
MediaLog media_log_;
for (int i = 0; i < kBenchmarkIterations; ++i) {
// Setup.
- base::test::ScopedTaskScheduler scoped_task_scheduler;
+ base::test::ScopedTaskEnvironment scoped_task_environment_;
DemuxerHostImpl demuxer_host;
FileDataSource data_source;
ASSERT_TRUE(data_source.Initialize(file_path));
« no previous file with comments | « device/bluetooth/bluez/bluetooth_adapter_profile_bluez_unittest.cc ('k') | media/gpu/video_decode_accelerator_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698