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

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

Issue 7096013: Allow device policy code to be optionally included. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make changes requested by torne. Created 9 years, 7 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/browser_options_handler.cc
diff --git a/chrome/browser/ui/webui/options/browser_options_handler.cc b/chrome/browser/ui/webui/options/browser_options_handler.cc
index 94d8e430f03e638a3869ee0c5f537e40c34b3072..49733b115f82582941227e4bca85b1218fa65c04 100644
--- a/chrome/browser/ui/webui/options/browser_options_handler.cc
+++ b/chrome/browser/ui/webui/options/browser_options_handler.cc
@@ -136,9 +136,9 @@ void BrowserOptionsHandler::Initialize() {
UpdateStartupPages();
UpdateSearchEngines();
banner_handler_.reset(
- new OptionsManagedBannerHandler(web_ui_,
- ASCIIToUTF16("BrowserOptions"),
- OPTIONS_PAGE_GENERAL));
+ OptionsManagedBannerHandler::Create(web_ui_,
+ ASCIIToUTF16("BrowserOptions"),
+ OPTIONS_PAGE_GENERAL));
autocomplete_controller_.reset(new AutocompleteController(profile, this));
}

Powered by Google App Engine
This is Rietveld 408576698