summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/options/options_page_view.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/views/options/options_page_view.cc')
-rw-r--r--chrome/browser/views/options/options_page_view.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/views/options/options_page_view.cc b/chrome/browser/views/options/options_page_view.cc
index e1eff1c..61a8977 100644
--- a/chrome/browser/views/options/options_page_view.cc
+++ b/chrome/browser/views/options/options_page_view.cc
@@ -6,6 +6,7 @@
#include "chrome/browser/browser_process.h"
#include "chrome/browser/metrics/user_metrics.h"
+#include "chrome/common/notification_service.h"
#include "chrome/common/pref_service.h"
#include "chrome/views/widget.h"
@@ -33,7 +34,7 @@ void OptionsPageView::UserMetricsRecordAction(const wchar_t* action,
void OptionsPageView::Observe(NotificationType type,
const NotificationSource& source,
const NotificationDetails& details) {
- if (type == NOTIFY_PREF_CHANGED)
+ if (type == NotificationType::PREF_CHANGED)
NotifyPrefChanged(Details<std::wstring>(details).ptr());
}