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

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: How many trial and errors before this builds on the Windows bots 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
« no previous file with comments | « crypto/scoped_openssl_types.h ('k') | device/hid/input_service_linux.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « crypto/scoped_openssl_types.h ('k') | device/hid/input_service_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698