Index: content/browser/gamepad/gamepad_platform_data_fetcher_linux.h |
diff --git a/content/browser/gamepad/gamepad_platform_data_fetcher_linux.h b/content/browser/gamepad/gamepad_platform_data_fetcher_linux.h |
index 763f1911dd65003e3413708cc6ab8cb6dcdb50e6..a260760d9c109cee693a2f3862a70d5444a68955 100644 |
--- a/content/browser/gamepad/gamepad_platform_data_fetcher_linux.h |
+++ b/content/browser/gamepad/gamepad_platform_data_fetcher_linux.h |
@@ -7,11 +7,11 @@ |
#include <stddef.h> |
+#include <memory> |
#include <string> |
#include "base/compiler_specific.h" |
#include "base/macros.h" |
-#include "base/memory/scoped_ptr.h" |
#include "content/browser/gamepad/gamepad_data_fetcher.h" |
extern "C" { |
@@ -41,7 +41,7 @@ class GamepadPlatformDataFetcherLinux : public GamepadDataFetcher { |
// File descriptor for the /dev/input/js* devices. -1 if not in use. |
int device_fd_[blink::WebGamepads::itemsLengthCap]; |
- scoped_ptr<device::UdevLinux> udev_; |
+ std::unique_ptr<device::UdevLinux> udev_; |
DISALLOW_COPY_AND_ASSIGN(GamepadPlatformDataFetcherLinux); |
}; |