| Index: chrome/browser/content_settings/permission_queue_controller.cc
|
| diff --git a/chrome/browser/content_settings/permission_queue_controller.cc b/chrome/browser/content_settings/permission_queue_controller.cc
|
| index 10cf79b7b0e9b3aa10153ae49b6e14499cd5c520..dab4a8a74bc28fcedd0b0fa2278f414ab4e58459 100644
|
| --- a/chrome/browser/content_settings/permission_queue_controller.cc
|
| +++ b/chrome/browser/content_settings/permission_queue_controller.cc
|
| @@ -181,7 +181,7 @@ void PermissionQueueController::CancelInfoBarRequest(
|
|
|
| for (PendingInfobarRequests::iterator i(pending_infobar_requests_.begin());
|
| i != pending_infobar_requests_.end(); ++i) {
|
| - if (!i->id().Equals(id))
|
| + if (id != i->id())
|
| continue;
|
|
|
| InfoBarService* infobar_service = GetInfoBarService(id);
|
| @@ -229,7 +229,7 @@ void PermissionQueueController::OnPermissionSet(
|
| pending_requests_to_remove.push_back(i);
|
| continue;
|
| }
|
| - if (i->id().Equals(id)) {
|
| + if (id == i->id()) {
|
| // The infobar that called us is i->infobar(), and its delegate is
|
| // currently in either Accept() or Cancel(). This means that
|
| // RemoveInfoBar() will be called later on, and that will trigger a
|
|
|