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

Unified Diff: device/hid/input_service_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 | « device/hid/device_monitor_linux.h ('k') | gpu/command_buffer/service/common_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/hid/input_service_linux.h
diff --git a/device/hid/input_service_linux.h b/device/hid/input_service_linux.h
index d13be957ed9fdd634505ea78c77e480c3d1edc1b..dfb11d1b79578feb0c312ef9ff821b5467504839 100644
--- a/device/hid/input_service_linux.h
+++ b/device/hid/input_service_linux.h
@@ -5,6 +5,7 @@
#ifndef DEVICE_HID_INPUT_SERVICE_LINUX_H_
#define DEVICE_HID_INPUT_SERVICE_LINUX_H_
+#include <memory>
#include <string>
#include <vector>
@@ -87,7 +88,7 @@ class InputServiceLinux : public base::MessageLoop::DestructionObserver {
base::ObserverList<Observer> observers_;
private:
- friend struct base::DefaultDeleter<InputServiceLinux>;
+ friend std::default_delete<InputServiceLinux>;
base::ThreadChecker thread_checker_;
« no previous file with comments | « device/hid/device_monitor_linux.h ('k') | gpu/command_buffer/service/common_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698