Chromium Code Reviews| Index: sdk/lib/collection/queue.dart |
| diff --git a/sdk/lib/collection/queue.dart b/sdk/lib/collection/queue.dart |
| index 0347943a0ab932c4f0c98b6004dda34d6537ce79..71359b39f2568d637b2df0cc90868a10bd06b06d 100644 |
| --- a/sdk/lib/collection/queue.dart |
| +++ b/sdk/lib/collection/queue.dart |
| @@ -557,10 +557,10 @@ class ListQueue<E> extends ListIterable<E> implements Queue<E> { |
| Iterator<E> get iterator => new _ListQueueIterator<E>(this); |
| - void forEach(void action(E element)) { |
| + void forEach(void f(E element)) { |
|
Lasse Reichstein Nielsen
2017/05/31 12:30:22
I'd actually prefer to change the original to "act
|
| int modificationCount = _modificationCount; |
| for (int i = _head; i != _tail; i = (i + 1) & (_table.length - 1)) { |
| - action(_table[i]); |
| + f(_table[i]); |
| _checkModification(modificationCount); |
| } |
| } |