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

Unified Diff: chrome/browser/ui/webui/options/options_ui_browsertest.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/options_ui_browsertest.cc
diff --git a/chrome/browser/ui/webui/options/options_ui_browsertest.cc b/chrome/browser/ui/webui/options/options_ui_browsertest.cc
index c03aaa8affbe4092b8fc9ebc86c6864a9b8f0adf..7bf85275110a9c96a58cb00284305369f60da43d 100644
--- a/chrome/browser/ui/webui/options/options_ui_browsertest.cc
+++ b/chrome/browser/ui/webui/options/options_ui_browsertest.cc
@@ -134,7 +134,7 @@ void OptionsUIBrowserTest::NavigateToSettingsSubpage(
// However, it is safe to subscribe afterwards, because the event will always
// be posted asynchronously to the message loop.
scoped_refptr<MessageLoopRunner> message_loop_runner(new MessageLoopRunner);
- scoped_ptr<OptionsUI::OnFinishedLoadingCallbackList::Subscription>
+ std::unique_ptr<OptionsUI::OnFinishedLoadingCallbackList::Subscription>
subscription = options_ui->RegisterOnFinishedLoadingCallback(
message_loop_runner->QuitClosure());
message_loop_runner->Run();
« no previous file with comments | « chrome/browser/ui/webui/options/options_ui.cc ('k') | chrome/browser/ui/webui/options/password_manager_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698