Index: base/prefs/pref_observer.h |
diff --git a/base/prefs/pref_observer.h b/base/prefs/pref_observer.h |
index 93a0454bf3c6186143d214ce9440ec429d469682..3f86f52ad4df5dee4cd49d1c9c1c816de1b50c7d 100644 |
--- a/base/prefs/pref_observer.h |
+++ b/base/prefs/pref_observer.h |
@@ -12,6 +12,8 @@ class PrefServiceBase; |
// TODO(joi): Switch to base::Callback and remove this. |
class PrefObserver { |
public: |
+ virtual ~PrefObserver() { } |
+ |
virtual void OnPreferenceChanged(PrefServiceBase* service, |
const std::string& pref_name) = 0; |
}; |