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

Unified Diff: chrome/browser/ui/webui/options/handler_options_handler.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/handler_options_handler.cc
diff --git a/chrome/browser/ui/webui/options/handler_options_handler.cc b/chrome/browser/ui/webui/options/handler_options_handler.cc
index 07df72ce3f681ca54a0075edd7a744743724ac96..e202ba1de55949e811bc402003aee2010e38e755 100644
--- a/chrome/browser/ui/webui/options/handler_options_handler.cc
+++ b/chrome/browser/ui/webui/options/handler_options_handler.cc
@@ -138,7 +138,7 @@ void HandlerOptionsHandler::UpdateHandlerList() {
handlers.Append(handler_value);
}
- scoped_ptr<base::ListValue> ignored_handlers(new base::ListValue());
+ std::unique_ptr<base::ListValue> ignored_handlers(new base::ListValue());
GetIgnoredHandlers(ignored_handlers.get());
web_ui()->CallJavascriptFunction("HandlerOptions.setHandlers", handlers);
web_ui()->CallJavascriptFunction("HandlerOptions.setIgnoredHandlers",
« no previous file with comments | « chrome/browser/ui/webui/options/font_settings_handler.cc ('k') | chrome/browser/ui/webui/options/home_page_overlay_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698