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

Unified Diff: content/renderer/device_sensors/device_light_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_light_event_pump.h
diff --git a/content/renderer/device_sensors/device_light_event_pump.h b/content/renderer/device_sensors/device_light_event_pump.h
index 3561484550ca5a523f1bb8b7794cd30c42916cef..3091efb66bd1c7a1cd07faa610c3c96392009b83 100644
--- a/content/renderer/device_sensors/device_light_event_pump.h
+++ b/content/renderer/device_sensors/device_light_event_pump.h
@@ -5,8 +5,9 @@
#ifndef CONTENT_RENDERER_DEVICE_SENSORS_DEVICE_LIGHT_EVENT_PUMP_H_
#define CONTENT_RENDERER_DEVICE_SENSORS_DEVICE_LIGHT_EVENT_PUMP_H_
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "content/common/device_sensors/device_light_data.h"
#include "content/renderer/device_sensors/device_sensor_event_pump.h"
#include "content/renderer/shared_memory_seqlock_reader.h"
@@ -46,7 +47,7 @@ class CONTENT_EXPORT DeviceLightEventPump
private:
bool ShouldFireEvent(double data) const;
- scoped_ptr<DeviceLightSharedMemoryReader> reader_;
+ std::unique_ptr<DeviceLightSharedMemoryReader> reader_;
double last_seen_data_;
DISALLOW_COPY_AND_ASSIGN(DeviceLightEventPump);
« no previous file with comments | « content/renderer/child_frame_compositing_helper.h ('k') | content/renderer/device_sensors/device_light_event_pump_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698