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

Unified Diff: device/hid/device_monitor_linux.h

Issue 1445003002: Use std::default_delete as the default deleter for scoped_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Windows maybe Created 5 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: device/hid/device_monitor_linux.h
diff --git a/device/hid/device_monitor_linux.h b/device/hid/device_monitor_linux.h
index 824fa652ff79bea9e5d833b718d5458ffd21deb8..23ad81aa2dd8a8c171f6346f80916c4ab844908c 100644
--- a/device/hid/device_monitor_linux.h
+++ b/device/hid/device_monitor_linux.h
@@ -5,6 +5,7 @@
#ifndef DEVICE_HID_DEVICE_MONITOR_LINUX_H_
#define DEVICE_HID_DEVICE_MONITOR_LINUX_H_
+#include <memory>
#include <string>
#include "base/compiler_specific.h"
@@ -54,7 +55,7 @@ class DeviceMonitorLinux : public base::MessageLoop::DestructionObserver,
void OnFileCanWriteWithoutBlocking(int fd) override;
private:
- friend struct base::DefaultDeleter<DeviceMonitorLinux>;
+ friend std::default_delete<DeviceMonitorLinux>;
~DeviceMonitorLinux() override;

Powered by Google App Engine
This is Rietveld 408576698