Chromium Code Reviews
DescriptionPrevent prefs_registrar unsubscribe from destroyed pref_service
In some rare cases pref_change_registrar_ do not unsubscribed during the
test body, resulting unsubscribe-on-destruction, but at time of test's
class dtor execution pref_service was already destroyed.
With this CL prefs_registrar lifespan will not exeed pref_service's.
BUG=
R=dbeam@chromium.org, stevenjb@chromium.org
Committed: https://crrev.com/4f17246f4e8201d61c3c41319274beb6f51c78e6
Cr-Commit-Position: refs/heads/master@{#438481}
Patch Set 1 #
Total comments: 1
Patch Set 2 : nit removal #
Messages
Total messages: 11 (6 generated)
|
||||||||||||||||||||||||||||