| Index: chrome/browser/protector/protector.cc
|
| ===================================================================
|
| --- chrome/browser/protector/protector.cc (revision 108092)
|
| +++ chrome/browser/protector/protector.cc (working copy)
|
| @@ -57,13 +57,16 @@
|
| OnChangesAction(&SettingChange::DoDefault);
|
| }
|
|
|
| +void Protector::OnRemovedFromProfile() {
|
| + BrowserThread::DeleteSoon(BrowserThread::UI, FROM_HERE, this);
|
| +}
|
| +
|
| void Protector::OnChangesAction(SettingChangeAction action) {
|
| DCHECK(error_.get());
|
| SettingChangeVector* changes = error_->mutable_changes();
|
| for (SettingChangeVector::iterator it = changes->begin();
|
| it != changes->end(); ++it)
|
| ((*it)->*action)(this);
|
| - BrowserThread::DeleteSoon(BrowserThread::UI, FROM_HERE, this);
|
| }
|
|
|
|
|
|
|