Index: chrome/browser/chromeos/settings/cros_settings.cc |
diff --git a/chrome/browser/chromeos/settings/cros_settings.cc b/chrome/browser/chromeos/settings/cros_settings.cc |
index d7027073b5c48ac997f7b1f8103b3732d49b4ce5..9023c0aa1452436e0895512d4cfcd12cb7a7d69d 100644 |
--- a/chrome/browser/chromeos/settings/cros_settings.cc |
+++ b/chrome/browser/chromeos/settings/cros_settings.cc |
@@ -272,11 +272,11 @@ CrosSettings::AddSettingsObserver(const std::string& path, |
} |
// Get the callback registry associated with the path. |
- base::CallbackRegistry<void>* registry = NULL; |
+ base::CallbackRegistry<void(void)>* registry = NULL; |
SettingsObserverMap::iterator observer_iterator = |
settings_observers_.find(path); |
if (observer_iterator == settings_observers_.end()) { |
- registry = new base::CallbackRegistry<void>; |
+ registry = new base::CallbackRegistry<void(void)>; |
settings_observers_[path] = registry; |
} else { |
registry = observer_iterator->second; |