Index: components/user_prefs/user_prefs.h |
diff --git a/components/user_prefs/user_prefs.h b/components/user_prefs/user_prefs.h |
index 55e81c91c5016370a596993d532f881ea2934814..392e5dc7f23279c0d371baf1f1f0258ce6ebc87d 100644 |
--- a/components/user_prefs/user_prefs.h |
+++ b/components/user_prefs/user_prefs.h |
@@ -20,6 +20,8 @@ namespace user_prefs { |
// base::SupportsUserData using the UserPrefs::Set() function. |
class USER_PREFS_EXPORT UserPrefs : public base::SupportsUserData::Data { |
public: |
+ ~UserPrefs() override; |
+ |
// Retrieves the PrefService for a given context, or null if none is attached. |
static PrefService* Get(base::SupportsUserData* context); |
@@ -29,7 +31,6 @@ class USER_PREFS_EXPORT UserPrefs : public base::SupportsUserData::Data { |
private: |
explicit UserPrefs(PrefService* prefs); |
- ~UserPrefs() override; |
// Non-owning; owned by embedder. |
PrefService* prefs_; |