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

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

Issue 2812953002: Stop passing raw pointers to base::Value API in c/b/ui (Closed)
Patch Set: Rebased 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 e52ce987ec3c9b39f87e027af9e06616245eb4c1..e768ff1ca9032044511342060be7b3ac7f0ee0cc 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 @@ void SupervisedUserImportHandler::GetLocalizedValues(
};
RegisterStrings(localized_strings, resources, arraysize(resources));
- localized_strings->Set("avatarIcons", GetAvatarIcons().release());
+ localized_strings->Set("avatarIcons", GetAvatarIcons());
}
void SupervisedUserImportHandler::InitializeHandler() {

Powered by Google App Engine
This is Rietveld 408576698