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

Unified Diff: content/browser/gamepad/gamepad_platform_data_fetcher_linux.h

Issue 1874893002: Convert //content/browser from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months 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 | « content/browser/font_list_async.cc ('k') | content/browser/gamepad/gamepad_platform_data_fetcher_mac.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
};
« no previous file with comments | « content/browser/font_list_async.cc ('k') | content/browser/gamepad/gamepad_platform_data_fetcher_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698