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

Unified Diff: remoting/test/app_remoting_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/app_remoting_test_driver.cc
diff --git a/remoting/test/app_remoting_test_driver.cc b/remoting/test/app_remoting_test_driver.cc
index e036363d9702940b8da3e9cf5d386902b6dd9d34..34d565965e3f5e464cd5ffb7bd33edb55692b0dd 100644
--- a/remoting/test/app_remoting_test_driver.cc
+++ b/remoting/test/app_remoting_test_driver.cc
@@ -227,7 +227,7 @@ int main(int argc, char** argv) {
// retrieving an access token for the user and spinning up VMs.
// The GTest framework will own the lifetime of this object once
// it is registered below.
- scoped_ptr<remoting::test::AppRemotingTestDriverEnvironment> shared_data(
+ std::unique_ptr<remoting::test::AppRemotingTestDriverEnvironment> shared_data(
remoting::test::CreateAppRemotingTestDriverEnvironment(options));
if (!shared_data->Initialize(auth_code)) {
« no previous file with comments | « remoting/test/app_remoting_sample_test_driver_environment.cc ('k') | remoting/test/app_remoting_test_driver_environment.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698