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

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: 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/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_;

Powered by Google App Engine
This is Rietveld 408576698