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

Unified Diff: chrome/browser/ui/webui/options/language_options_handler_common.cc

Issue 1865213004: Convert //chrome/browser/ui 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
Index: chrome/browser/ui/webui/options/language_options_handler_common.cc
diff --git a/chrome/browser/ui/webui/options/language_options_handler_common.cc b/chrome/browser/ui/webui/options/language_options_handler_common.cc
index dc570cada29b7f5931c8459982598efcf27cbc28..6d3c400a9aa862f790c76dac15f4f77252d755b6 100644
--- a/chrome/browser/ui/webui/options/language_options_handler_common.cc
+++ b/chrome/browser/ui/webui/options/language_options_handler_common.cc
@@ -289,7 +289,7 @@ void LanguageOptionsHandlerCommon::UpdateLanguageListCallback(
}
Profile* profile = Profile::FromWebUI(web_ui());
- scoped_ptr<translate::TranslatePrefs> translate_prefs =
+ std::unique_ptr<translate::TranslatePrefs> translate_prefs =
ChromeTranslateClient::CreateTranslatePrefs(profile->GetPrefs());
translate_prefs->UpdateLanguageList(languages);
}

Powered by Google App Engine
This is Rietveld 408576698