Index: chrome/browser/automation/automation_provider.cc |
=================================================================== |
--- chrome/browser/automation/automation_provider.cc (revision 49807) |
+++ chrome/browser/automation/automation_provider.cc (working copy) |
@@ -863,7 +863,7 @@ |
*handle = 0; |
if (index >= 0) { |
BrowserList::const_iterator iter = BrowserList::begin(); |
- for (; (iter != BrowserList::end()) && (index > 0); ++iter, --index); |
+ for (; (iter != BrowserList::end()) && (index > 0); ++iter, --index) {} |
if (iter != BrowserList::end()) { |
*handle = browser_tracker_->Add(*iter); |
} |