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

Unified Diff: device/hid/hid_service.h

Issue 1074963003: Clean up potentially leaky use of base::DeletePointer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed another probleb Created 5 years, 8 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
« no previous file with comments | « device/core/device_monitor_win.cc ('k') | device/hid/hid_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/hid/hid_service.h
diff --git a/device/hid/hid_service.h b/device/hid/hid_service.h
index 6d6ef2bd2860fc18313652ae8d2c16c2296c9e50..d1c7ef448a4e9da6c9d2903989911090627fd8ee 100644
--- a/device/hid/hid_service.h
+++ b/device/hid/hid_service.h
@@ -61,7 +61,7 @@ class HidService {
const ConnectCallback& callback) = 0;
protected:
- friend void base::DeletePointer<HidService>(HidService* service);
+ friend struct base::DefaultDeleter<HidService>;
friend class HidConnectionTest;
typedef std::map<HidDeviceId, scoped_refptr<HidDeviceInfo>> DeviceMap;
« no previous file with comments | « device/core/device_monitor_win.cc ('k') | device/hid/hid_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698