| Index: chrome/common/notification_registrar.cc
|
| ===================================================================
|
| --- chrome/common/notification_registrar.cc (revision 17014)
|
| +++ chrome/common/notification_registrar.cc (working copy)
|
| @@ -48,7 +48,8 @@
|
| RecordVector::iterator found = std::find(
|
| registered_.begin(), registered_.end(), record);
|
| if (found == registered_.end()) {
|
| - NOTREACHED();
|
| + NOTREACHED() << "Trying to remove unregistered observer of type " <<
|
| + type.value << " from list of size " << registered_.size() << ".";
|
| return;
|
| }
|
| registered_.erase(found);
|
|
|