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

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

Issue 2820823005: Revert of Stop passing raw pointers to base::Value API in c/b/ui (Closed)
Patch Set: Created 3 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/supervised_user_import_handler.cc
diff --git a/chrome/browser/ui/webui/options/supervised_user_import_handler.cc b/chrome/browser/ui/webui/options/supervised_user_import_handler.cc
index e768ff1ca9032044511342060be7b3ac7f0ee0cc..e52ce987ec3c9b39f87e027af9e06616245eb4c1 100644
--- a/chrome/browser/ui/webui/options/supervised_user_import_handler.cc
+++ b/chrome/browser/ui/webui/options/supervised_user_import_handler.cc
@@ -96,7 +96,7 @@
};
RegisterStrings(localized_strings, resources, arraysize(resources));
- localized_strings->Set("avatarIcons", GetAvatarIcons());
+ localized_strings->Set("avatarIcons", GetAvatarIcons().release());
}
void SupervisedUserImportHandler::InitializeHandler() {
« no previous file with comments | « chrome/browser/ui/webui/options/search_engine_manager_handler.cc ('k') | chrome/browser/ui/webui/policy_ui_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698