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

Unified Diff: ios/chrome/browser/browser_state/test_chrome_browser_state_isolated_context.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: Add header 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: ios/chrome/browser/browser_state/test_chrome_browser_state_isolated_context.mm
diff --git a/ios/chrome/browser/browser_state/test_chrome_browser_state_isolated_context.mm b/ios/chrome/browser/browser_state/test_chrome_browser_state_isolated_context.mm
index 0f23ae5987e18625cbdff7b3e53da03c14a5df8c..100c7b131527040b361e33114eadc5ee7bf1a866 100644
--- a/ios/chrome/browser/browser_state/test_chrome_browser_state_isolated_context.mm
+++ b/ios/chrome/browser/browser_state/test_chrome_browser_state_isolated_context.mm
@@ -11,10 +11,11 @@
TestChromeBrowserStateWithIsolatedContext::
TestChromeBrowserStateWithIsolatedContext()
- : TestChromeBrowserState(base::FilePath(),
- scoped_ptr<syncable_prefs::PrefServiceSyncable>(),
- TestingFactories(),
- RefcountedTestingFactories()),
+ : TestChromeBrowserState(
+ base::FilePath(),
+ std::unique_ptr<syncable_prefs::PrefServiceSyncable>(),
+ TestingFactories(),
+ RefcountedTestingFactories()),
main_context_called_(false),
request_context_(new net::TestURLRequestContextGetter(
web::WebThread::GetTaskRunnerForThread(web::WebThread::IO))) {}

Powered by Google App Engine
This is Rietveld 408576698