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

Unified Diff: ios/web/public/test/scoped_testing_web_client.mm

Issue 1861593005: Convert //ios from scoped_ptr to std::unique_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase? 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 | « ios/web/public/test/scoped_testing_web_client.h ('k') | ios/web/public/test/test_web_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/public/test/scoped_testing_web_client.mm
diff --git a/ios/web/public/test/scoped_testing_web_client.mm b/ios/web/public/test/scoped_testing_web_client.mm
index a24058333f3e85f8c7b68315972a157963d28cd0..fd06b97f6161a8e1deada1ebf6a38da0675ed3a5 100644
--- a/ios/web/public/test/scoped_testing_web_client.mm
+++ b/ios/web/public/test/scoped_testing_web_client.mm
@@ -9,7 +9,8 @@
namespace web {
-ScopedTestingWebClient::ScopedTestingWebClient(scoped_ptr<WebClient> web_client)
+ScopedTestingWebClient::ScopedTestingWebClient(
+ std::unique_ptr<WebClient> web_client)
: web_client_(std::move(web_client)), original_web_client_(GetWebClient()) {
SetWebClient(web_client_.get());
}
« no previous file with comments | « ios/web/public/test/scoped_testing_web_client.h ('k') | ios/web/public/test/test_web_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698