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

Unified Diff: device/hid/mock_hid_service.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
« no previous file with comments | « device/hid/input_service_linux.cc ('k') | device/test/test_device_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/hid/mock_hid_service.cc
diff --git a/device/hid/mock_hid_service.cc b/device/hid/mock_hid_service.cc
index 7c73a3543c8f32a5480f79b588990ee593dbae29..3b913cf696d044b8fa5d8c6a5c5904393cedcf26 100644
--- a/device/hid/mock_hid_service.cc
+++ b/device/hid/mock_hid_service.cc
@@ -8,7 +8,10 @@ namespace device {
MockHidService::MockHidService() {}
-MockHidService::~MockHidService() {}
+MockHidService::~MockHidService() {
+ // Shutdown() must be called before the base class destructor.
+ Shutdown();
+}
void MockHidService::AddDevice(scoped_refptr<HidDeviceInfo> info) {
HidService::AddDevice(info);
« no previous file with comments | « device/hid/input_service_linux.cc ('k') | device/test/test_device_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698