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

Unified Diff: content/renderer/screen_orientation/screen_orientation_dispatcher_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/screen_orientation/screen_orientation_dispatcher_unittest.cc
diff --git a/content/renderer/screen_orientation/screen_orientation_dispatcher_unittest.cc b/content/renderer/screen_orientation/screen_orientation_dispatcher_unittest.cc
index c57f5d0c17a9289f1813806089736a5f5385b3ab..4d9cf0226d27071d6e4f454c0bc6655135f17154 100644
--- a/content/renderer/screen_orientation/screen_orientation_dispatcher_unittest.cc
+++ b/content/renderer/screen_orientation/screen_orientation_dispatcher_unittest.cc
@@ -5,9 +5,9 @@
#include "content/renderer/screen_orientation/screen_orientation_dispatcher.h"
#include <list>
+#include <memory>
#include "base/logging.h"
-#include "base/memory/scoped_ptr.h"
#include "content/common/screen_orientation_messages.h"
#include "content/public/test/test_utils.h"
#include "ipc/ipc_test_sink.h"
@@ -100,7 +100,7 @@ class ScreenOrientationDispatcherTest : public testing::Test {
}
IPC::TestSink sink_;
- scoped_ptr<ScreenOrientationDispatcher> dispatcher_;
+ std::unique_ptr<ScreenOrientationDispatcher> dispatcher_;
};
// Test that calling lockOrientation() followed by unlockOrientation() cancel

Powered by Google App Engine
This is Rietveld 408576698