We need to traverse the infobars with a reverse loop as we remove them (as after removal the index is pointing too far by 1, so the next immediate infobar won't be removed).
We need to traverse the infobars with a reverse loop as
we remove them (as after removal the index is pointing
too far by 1, so the next immediate infobar won't be removed).

BUG=None
TEST=Get to a page with 2 infobars (for ex: crash the
     browser and restart (so you get the browser crashed
     infobar and make it not your default browser so you
     get the default browser infobar), kill the page process
     with the task manager. The sad page should be shown
     and the infobars should disappear.

Review URL: http://codereview.chromium.org/646045

git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@39388 0039d316-1c4b-4281-b951-d872f2087c98

adobe/chromium,Crystalnix/house-of-life-chromium,gavinp/chromium,yitian134/chromium,ropik/chromium,adobe/chromium,yitian134/chromium,yitian134/chromium,ropik/chromium,adobe/chromium,Crystalnix/house-of-life-chromium,yitian134/chromium,adobe/chromium,Crystalnix/house-of-life-chromium,ropik/chromium,Crystalnix/house-of-life-chromium,Crystalnix/house-of-life-chromium,gavinp/chromium,Crystalnix/house-of-life-chromium,adobe/chromium,yitian134/chromium,yitian134/chromium,gavinp/chromium,ropik/chromium,adobe/chromium,yitian134/chromium,adobe/chromium,Crystalnix/house-of-life-chromium,gavinp/chromium,Crystalnix/house-of-life-chromium,Crystalnix/house-of-life-chromium,ropik/chromium,yitian134/chromium,adobe/chromium,ropik/chromium,yitian134/chromium,adobe/chromium,adobe/chromium,gavinp/chromium,gavinp/chromium,yitian134/chromium,gavinp/chromium,gavinp/chromium,gavinp/chromium,ropik/chromium,Crystalnix/house-of-life-chromium,Crystalnix/house-of-life-chromium,ropik/chromium,ropik/chromium,adobe/chromium,gavinp/chromium