Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(710)

Unified Diff: lib/src/particle/stack_queue.dart

Issue 1138063003: pkg/box2d: 0.2.0 release (Closed) Base URL: https://github.com/google/dbox2d.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/src/particle/particle_system.dart ('k') | pubspec.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/particle/stack_queue.dart
diff --git a/lib/src/particle/stack_queue.dart b/lib/src/particle/stack_queue.dart
index a7c8b8486986113b509f303d2fc2fbc775a3e66c..6d24862908a07b43afc7e237897719e021c05af8 100644
--- a/lib/src/particle/stack_queue.dart
+++ b/lib/src/particle/stack_queue.dart
@@ -41,8 +41,7 @@ class StackQueue<T> {
void push(T task) {
if (_back >= _end) {
- BufferUtils.arraycopy(
- _buffer, _front, _buffer, 0, _back - _front);
+ BufferUtils.arraycopy(_buffer, _front, _buffer, 0, _back - _front);
_back -= _front;
_front = 0;
if (_back >= _end) {
« no previous file with comments | « lib/src/particle/particle_system.dart ('k') | pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698