Index: chrome/browser/profiles/profile_impl.h |
diff --git a/chrome/browser/profiles/profile_impl.h b/chrome/browser/profiles/profile_impl.h |
index f002f3fbac99099929c53c50d602a96e13c88d2d..5a79369119abfa09cc1900582543f72b0f363b71 100644 |
--- a/chrome/browser/profiles/profile_impl.h |
+++ b/chrome/browser/profiles/profile_impl.h |
@@ -26,6 +26,7 @@ class PrefService; |
class PrefServiceSyncable; |
class ShortcutsBackend; |
class SSLConfigServiceManager; |
+class TrackedPreferenceValidationDelegate; |
#if defined(OS_CHROMEOS) |
namespace chromeos { |
@@ -242,6 +243,10 @@ class ProfileImpl : public Profile { |
#endif |
scoped_ptr<policy::ProfilePolicyConnector> profile_policy_connector_; |
+ // Keep |pref_validation_delegate_| above |prefs_| so that the former outlives |
+ // the latter. |
+ scoped_ptr<TrackedPreferenceValidationDelegate> pref_validation_delegate_; |
+ |
// Keep |prefs_| on top for destruction order because |extension_prefs_|, |
// |net_pref_observer_|, |io_data_| and others store pointers to |prefs_| and |
// shall be destructed first. |