Index: chrome/browser/ui/cocoa/confirm_quit_panel_controller.mm |
diff --git a/chrome/browser/ui/cocoa/confirm_quit_panel_controller.mm b/chrome/browser/ui/cocoa/confirm_quit_panel_controller.mm |
index 051a04e59b8503e3289dea701a2d7e7f1a1d4428..32b0c0b7a5aaf75628a757402459afc370a9b622 100644 |
--- a/chrome/browser/ui/cocoa/confirm_quit_panel_controller.mm |
+++ b/chrome/browser/ui/cocoa/confirm_quit_panel_controller.mm |
@@ -12,6 +12,7 @@ |
#include "base/metrics/histogram.h" |
#include "base/sys_string_conversions.h" |
#include "chrome/browser/browser_process.h" |
+#include "chrome/browser/prefs/pref_registry_simple.h" |
#include "chrome/browser/prefs/pref_service.h" |
#include "chrome/browser/profiles/profile.h" |
#include "chrome/browser/profiles/profile_manager.h" |
@@ -45,7 +46,7 @@ void RecordHistogram(ConfirmQuitMetric sample) { |
UMA_HISTOGRAM_ENUMERATION("OSX.ConfirmToQuit", sample, kSampleCount); |
} |
-void RegisterLocalState(PrefServiceSimple* local_state) { |
+void RegisterLocalState(PrefRegistrySimple* local_state) { |
local_state->RegisterBooleanPref(prefs::kConfirmToQuitEnabled, false); |
} |