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

Unified Diff: content/renderer/device_sensors/device_orientation_event_pump_unittest.cc

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_unittest.cc
diff --git a/content/renderer/device_sensors/device_orientation_event_pump_unittest.cc b/content/renderer/device_sensors/device_orientation_event_pump_unittest.cc
index b6ca30ab39dc22ebb2634ea533fe3306bfdd10d8..1221271b844f8ed6fe58354ffccfc2c444191508 100644
--- a/content/renderer/device_sensors/device_orientation_event_pump_unittest.cc
+++ b/content/renderer/device_sensors/device_orientation_event_pump_unittest.cc
@@ -114,8 +114,8 @@ class DeviceOrientationEventPumpTest : public testing::Test {
DeviceOrientationHardwareBuffer* buffer() { return buffer_; }
private:
- scoped_ptr<MockDeviceOrientationListener> listener_;
- scoped_ptr<DeviceOrientationEventPumpForTesting> orientation_pump_;
+ std::unique_ptr<MockDeviceOrientationListener> listener_;
+ std::unique_ptr<DeviceOrientationEventPumpForTesting> orientation_pump_;
base::SharedMemoryHandle handle_;
base::SharedMemory shared_memory_;
DeviceOrientationHardwareBuffer* buffer_;
« no previous file with comments | « content/renderer/device_sensors/device_orientation_event_pump.h ('k') | content/renderer/devtools/devtools_agent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698