Index: media/base/user_input_monitor_unittest.cc |
diff --git a/media/base/user_input_monitor_unittest.cc b/media/base/user_input_monitor_unittest.cc |
index ab717d1a429b35afc78a08b8bb8094c4ef92a25e..75fc2f63c2dbc87b9954efa4217e0022c4b2ceca 100644 |
--- a/media/base/user_input_monitor_unittest.cc |
+++ b/media/base/user_input_monitor_unittest.cc |
@@ -2,13 +2,15 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+#include "media/base/user_input_monitor.h" |
+ |
+#include <memory> |
+ |
#include "base/logging.h" |
-#include "base/memory/scoped_ptr.h" |
#include "base/message_loop/message_loop.h" |
#include "base/run_loop.h" |
#include "build/build_config.h" |
#include "media/base/keyboard_event_counter.h" |
-#include "media/base/user_input_monitor.h" |
#include "testing/gmock/include/gmock/gmock.h" |
#include "testing/gtest/include/gtest/gtest.h" |
#include "third_party/skia/include/core/SkPoint.h" |
@@ -53,7 +55,7 @@ TEST(UserInputMonitorTest, CreatePlatformSpecific) { |
#endif // defined(OS_LINUX) |
base::RunLoop run_loop; |
- scoped_ptr<UserInputMonitor> monitor = UserInputMonitor::Create( |
+ std::unique_ptr<UserInputMonitor> monitor = UserInputMonitor::Create( |
message_loop.task_runner(), message_loop.task_runner()); |
if (!monitor) |