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

Unified Diff: chrome/browser/chromeos/device/input_service_test_helper.cc

Issue 2482463002: Remove DeviceMonitorLinux::WillDestroyCurrentMessageLoop(). (Closed)
Patch Set: CR achuithb #24 Created 4 years, 1 month 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: chrome/browser/chromeos/device/input_service_test_helper.cc
diff --git a/chrome/browser/chromeos/device/input_service_test_helper.cc b/chrome/browser/chromeos/device/input_service_test_helper.cc
index 2a060ff32e1680fc75dc97a825623c99ee30c552..7cc5e87b56eb22f9e330e5a6eb71028e4f3c42a2 100644
--- a/chrome/browser/chromeos/device/input_service_test_helper.cc
+++ b/chrome/browser/chromeos/device/input_service_test_helper.cc
@@ -5,6 +5,7 @@
#include "chrome/browser/chromeos/device/input_service_test_helper.h"
#include "base/bind.h"
+#include "base/memory/ptr_util.h"
#include "base/run_loop.h"
#include "chrome/browser/chromeos/device/input_service_proxy.h"
#include "content/public/browser/browser_thread.h"
@@ -20,7 +21,7 @@ namespace chromeos {
namespace {
void InitInputServiceOnFileThread() {
- InputServiceLinux::SetForTesting(new FakeInputServiceLinux());
+ InputServiceLinux::SetForTesting(base::MakeUnique<FakeInputServiceLinux>());
}
void AddDeviceOnFileThread(const InputDeviceInfo& device) {
« no previous file with comments | « chrome/browser/chrome_device_client.cc ('k') | chrome/browser/chromeos/login/bluetooth_host_pairing_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698