summaryrefslogtreecommitdiffstats
path: root/content/browser/power_profiler/power_profiler_service_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/power_profiler/power_profiler_service_unittest.cc')
-rw-r--r--content/browser/power_profiler/power_profiler_service_unittest.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/content/browser/power_profiler/power_profiler_service_unittest.cc b/content/browser/power_profiler/power_profiler_service_unittest.cc
index 3386b6f..96e96d1 100644
--- a/content/browser/power_profiler/power_profiler_service_unittest.cc
+++ b/content/browser/power_profiler/power_profiler_service_unittest.cc
@@ -2,7 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "base/message_loop/message_loop.h"
#include "base/run_loop.h"
#include "content/browser/browser_thread_impl.h"
#include "content/browser/power_profiler/power_profiler_service.h"
@@ -90,8 +89,7 @@ class PowerProfilerServiceTest : public testing::Test {
service_.reset(new PowerProfilerService(
make_scoped_ptr<PowerDataProvider>(
new TestPowerDataProvider(kNumEvents)),
- message_loop_.message_loop_proxy(),
- base::TimeDelta::FromMilliseconds(1)));
+ message_loop_.task_runner(), base::TimeDelta::FromMilliseconds(1)));
EXPECT_TRUE(service_->IsAvailable());
}