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 |