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

Unified Diff: webkit/data/test_shell/sort/sort-bubble.js

Issue 401923005: webkit: Remove all files from test_shell/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 | « webkit/data/test_shell/sort/sort.js ('k') | webkit/data/test_shell/sort/sort-heap.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/data/test_shell/sort/sort-bubble.js
diff --git a/webkit/data/test_shell/sort/sort-bubble.js b/webkit/data/test_shell/sort/sort-bubble.js
deleted file mode 100644
index dc084ba7cf9bcd6f96f2eccfc0c6e42bc3362747..0000000000000000000000000000000000000000
--- a/webkit/data/test_shell/sort/sort-bubble.js
+++ /dev/null
@@ -1,23 +0,0 @@
-// bubble sort
-
-function sort_bubble(sort, x, y) {
- if (arguments.length == 1) {
- x = 1; y = 0;
- }
- var len = sort.bars.length;
- if (x < len && y < len) {
- if (sort.compare(x, y) < 0) {
- sort.swap(x, y);
- }
- y++;
- if (y == x) {
- y = 0;
- x++;
- }
- if (x < len) {
- sort.add_work(function() { sort_bubble(sort, x, y); });
- return;
- }
- }
-}
-
« no previous file with comments | « webkit/data/test_shell/sort/sort.js ('k') | webkit/data/test_shell/sort/sort-heap.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698