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

Unified Diff: remoting/test/chromoting_test_driver.cc

Issue 1864213002: Convert //remoting to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Mac IWYU 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: remoting/test/chromoting_test_driver.cc
diff --git a/remoting/test/chromoting_test_driver.cc b/remoting/test/chromoting_test_driver.cc
index 055a6346b3cb0da2ad3ffef882a8db5da22d2340..4cd7ab66c0ea3116823754110e24ec184f2e16c5 100644
--- a/remoting/test/chromoting_test_driver.cc
+++ b/remoting/test/chromoting_test_driver.cc
@@ -218,7 +218,7 @@ int main(int argc, char* argv[]) {
// Create and register our global test data object. It will handle
// retrieving an access token or host list for the user. The GTest framework
// will own the lifetime of this object once it is registered below.
- scoped_ptr<remoting::test::ChromotingTestDriverEnvironment> shared_data(
+ std::unique_ptr<remoting::test::ChromotingTestDriverEnvironment> shared_data(
new remoting::test::ChromotingTestDriverEnvironment(options));
if (!shared_data->Initialize(auth_code)) {
« no previous file with comments | « remoting/test/app_remoting_test_driver_environment_unittest.cc ('k') | remoting/test/chromoting_test_driver_environment.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698