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

Unified Diff: chrome/browser/resources/ntp4/page_list_view.js

Issue 8898027: Revert 114083 - Convert app_launch_index and page_index from int to StringOrdinal. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years 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
Index: chrome/browser/resources/ntp4/page_list_view.js
===================================================================
--- chrome/browser/resources/ntp4/page_list_view.js (revision 114254)
+++ chrome/browser/resources/ntp4/page_list_view.js (working copy)
@@ -279,9 +279,9 @@
return true;
}
- // Sort by launch ordinal
+ // Sort by launch index
apps.sort(function(a, b) {
- return a.app_launch_ordinal > b.app_launch_ordinal;
+ return a.app_launch_index - b.app_launch_index;
});
// An app to animate (in case it was just installed).
« no previous file with comments | « chrome/browser/extensions/unpacked_installer.cc ('k') | chrome/browser/sync/test/integration/sync_extension_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698