Index: ppapi/shared_impl/callback_tracker.cc |
diff --git a/ppapi/shared_impl/callback_tracker.cc b/ppapi/shared_impl/callback_tracker.cc |
index 6857c4c2aca70a3ce8bb088efea81bfe2f0b4d24..feefb0e117d70aa862553838656da09763927824 100644 |
--- a/ppapi/shared_impl/callback_tracker.cc |
+++ b/ppapi/shared_impl/callback_tracker.cc |
@@ -17,17 +17,18 @@ namespace ppapi { |
// CallbackTracker ------------------------------------------------------------- |
-CallbackTracker::CallbackTracker() { |
-} |
+CallbackTracker::CallbackTracker() {} |
void CallbackTracker::AbortAll() { |
// Iterate over a copy since |Abort()| calls |Remove()| (indirectly). |
// TODO(viettrungluu): This obviously isn't so efficient. |
CallbackSetMap pending_callbacks_copy = pending_callbacks_; |
for (CallbackSetMap::iterator it1 = pending_callbacks_copy.begin(); |
- it1 != pending_callbacks_copy.end(); ++it1) { |
+ it1 != pending_callbacks_copy.end(); |
+ ++it1) { |
for (CallbackSet::iterator it2 = it1->second.begin(); |
- it2 != it1->second.end(); ++it2) { |
+ it2 != it1->second.end(); |
+ ++it2) { |
(*it2)->Abort(); |
} |
} |
@@ -39,7 +40,8 @@ void CallbackTracker::PostAbortForResource(PP_Resource resource_id) { |
if (it1 == pending_callbacks_.end()) |
return; |
for (CallbackSet::iterator it2 = it1->second.begin(); |
- it2 != it1->second.end(); ++it2) { |
+ it2 != it1->second.end(); |
+ ++it2) { |
// Post the abort. |
(*it2)->PostAbort(); |
} |