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

Unified Diff: components/login/screens/screen_context_unittest.cc

Issue 1918083002: Convert //components/[f-n]* 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
« no previous file with comments | « components/login/screens/screen_context.cc ('k') | components/memory_pressure/memory_pressure_monitor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/login/screens/screen_context_unittest.cc
diff --git a/components/login/screens/screen_context_unittest.cc b/components/login/screens/screen_context_unittest.cc
index c6a75b164d401030cb55a34303756fbd0776877f..2e5a569e7dcdca86732c7ad82d9a1ddc80e94f3f 100644
--- a/components/login/screens/screen_context_unittest.cc
+++ b/components/login/screens/screen_context_unittest.cc
@@ -2,11 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "components/login/screens/screen_context.h"
+
#include <algorithm>
+#include <memory>
#include <vector>
-#include "base/memory/scoped_ptr.h"
-#include "components/login/screens/screen_context.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace login {
@@ -24,7 +25,7 @@ class ScreenContextTest : public testing::Test {
ScreenContext& context() { return *context_.get(); }
private:
- scoped_ptr<ScreenContext> context_;
+ std::unique_ptr<ScreenContext> context_;
};
TEST_F(ScreenContextTest, Simple) {
« no previous file with comments | « components/login/screens/screen_context.cc ('k') | components/memory_pressure/memory_pressure_monitor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698