| Index: sync/notifier/invalidator_registrar.cc
|
| diff --git a/sync/notifier/invalidator_registrar.cc b/sync/notifier/invalidator_registrar.cc
|
| index 1fb6571ae8436477f825a1b4dd5495d4a5c4fcba..0c8d0f74392b100d2f4c0c51bd3d567977fbeeaf 100644
|
| --- a/sync/notifier/invalidator_registrar.cc
|
| +++ b/sync/notifier/invalidator_registrar.cc
|
| @@ -16,6 +16,8 @@ InvalidatorRegistrar::InvalidatorRegistrar()
|
|
|
| InvalidatorRegistrar::~InvalidatorRegistrar() {
|
| DCHECK(thread_checker_.CalledOnValidThread());
|
| + CHECK(!handlers_.might_have_observers());
|
| + // |id_to_handler_map_| may be non-empty but that's okay.
|
| }
|
|
|
| void InvalidatorRegistrar::RegisterHandler(InvalidationHandler* handler) {
|
|
|