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

Unified Diff: chrome/browser/ui/webui/help/help_ui.cc

Issue 449623003: Integrate About page into Settings for Chrome OS settings in a window. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 4 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/help/help_ui.cc
diff --git a/chrome/browser/ui/webui/help/help_ui.cc b/chrome/browser/ui/webui/help/help_ui.cc
index c5180daf815ec9cf52a3ee5ba5bd937d6b9b20b4..50046168ac6ab8eaab8e1ae0078a42b61ba88822 100644
--- a/chrome/browser/ui/webui/help/help_ui.cc
+++ b/chrome/browser/ui/webui/help/help_ui.cc
@@ -36,7 +36,9 @@ HelpUI::HelpUI(content::WebUI* web_ui)
content::WebUIDataSource* source = CreateAboutPageHTMLSource();
HelpHandler* handler = new HelpHandler();
- handler->GetLocalizedValues(source);
+ base::DictionaryValue localized_strings;
+ HelpHandler::GetLocalizedValues(&localized_strings);
+ source->AddLocalizedStrings(localized_strings);
content::WebUIDataSource::Add(profile, source);
web_ui->AddMessageHandler(handler);
}

Powered by Google App Engine
This is Rietveld 408576698