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

Unified Diff: content/renderer/device_sensors/device_orientation_event_pump.h

Issue 1873783003: Convert //content/renderer 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
Index: content/renderer/device_sensors/device_orientation_event_pump.h
diff --git a/content/renderer/device_sensors/device_orientation_event_pump.h b/content/renderer/device_sensors/device_orientation_event_pump.h
index 74ecacdbad3bb34a5086920bf2e2c9d6a555012c..26587e78041b937bafb14a5ea73d6ea06a00a580 100644
--- a/content/renderer/device_sensors/device_orientation_event_pump.h
+++ b/content/renderer/device_sensors/device_orientation_event_pump.h
@@ -5,8 +5,9 @@
#ifndef CONTENT_RENDERER_DEVICE_SENSORS_DEVICE_ORIENTATION_EVENT_PUMP_H_
#define CONTENT_RENDERER_DEVICE_SENSORS_DEVICE_ORIENTATION_EVENT_PUMP_H_
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "content/renderer/device_sensors/device_sensor_event_pump.h"
#include "content/renderer/shared_memory_seqlock_reader.h"
#include "third_party/WebKit/public/platform/modules/device_orientation/WebDeviceOrientationData.h"
@@ -45,7 +46,7 @@ class CONTENT_EXPORT DeviceOrientationEventPump
bool ShouldFireEvent(const blink::WebDeviceOrientationData& data) const;
blink::WebDeviceOrientationData data_;
- scoped_ptr<DeviceOrientationSharedMemoryReader> reader_;
+ std::unique_ptr<DeviceOrientationSharedMemoryReader> reader_;
DISALLOW_COPY_AND_ASSIGN(DeviceOrientationEventPump);
};

Powered by Google App Engine
This is Rietveld 408576698