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

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

Issue 11316163: Remove the last usages of PrefObserver outside of Prefs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix build. Created 8 years 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/clear_browser_data_handler.cc
diff --git a/chrome/browser/ui/webui/options/clear_browser_data_handler.cc b/chrome/browser/ui/webui/options/clear_browser_data_handler.cc
index 5a580f954bcf24ef0fe8c1819357d4eb094671eb..c59fb61339d0b67434f27d67cda5c9074bb70402 100644
--- a/chrome/browser/ui/webui/options/clear_browser_data_handler.cc
+++ b/chrome/browser/ui/webui/options/clear_browser_data_handler.cc
@@ -41,11 +41,9 @@ ClearBrowserDataHandler::~ClearBrowserDataHandler() {
void ClearBrowserDataHandler::InitializeHandler() {
clear_plugin_lso_data_enabled_.Init(prefs::kClearPluginLSODataEnabled,
- Profile::FromWebUI(web_ui())->GetPrefs(),
- NULL);
+ Profile::FromWebUI(web_ui())->GetPrefs());
pepper_flash_settings_enabled_.Init(prefs::kPepperFlashSettingsEnabled,
- Profile::FromWebUI(web_ui())->GetPrefs(),
- NULL);
+ Profile::FromWebUI(web_ui())->GetPrefs());
}
void ClearBrowserDataHandler::GetLocalizedValues(

Powered by Google App Engine
This is Rietveld 408576698