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

Unified Diff: content/browser/vr/android/cardboard/cardboard_vr_device_provider.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/utility_process_host_impl.h ('k') | content/browser/vr/vr_device_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/vr/android/cardboard/cardboard_vr_device_provider.h
diff --git a/content/browser/vr/android/cardboard/cardboard_vr_device_provider.h b/content/browser/vr/android/cardboard/cardboard_vr_device_provider.h
index b041316bc8c7e3d5ec636d2317025e496d675674..d8133f4ce9acccb5528d2931a66b7d4230d5e097 100644
--- a/content/browser/vr/android/cardboard/cardboard_vr_device_provider.h
+++ b/content/browser/vr/android/cardboard/cardboard_vr_device_provider.h
@@ -6,9 +6,9 @@
#define CONTENT_BROWSER_VR_CARDBOARD_VR_DEVICE_PROVIDER_H
#include <map>
+#include <memory>
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "content/browser/vr/vr_device.h"
#include "content/browser/vr/vr_device_provider.h"
@@ -23,7 +23,7 @@ class CardboardVRDeviceProvider : public VRDeviceProvider {
void Initialize() override;
private:
- scoped_ptr<VRDevice> cardboard_device_;
+ std::unique_ptr<VRDevice> cardboard_device_;
DISALLOW_COPY_AND_ASSIGN(CardboardVRDeviceProvider);
};
« no previous file with comments | « content/browser/utility_process_host_impl.h ('k') | content/browser/vr/vr_device_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698