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

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

Issue 8198003: Convert app_launch_index and page_index from int to StringOrdinal. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Adding constness and comments Created 9 years, 1 month 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
diff --git a/chrome/browser/resources/ntp4/page_list_view.js b/chrome/browser/resources/ntp4/page_list_view.js
index 7db35c0ba4dfa096f5d0e4480b76a0c36247543d..6f7626b6d8220faa84ea2f894b304c8da2e304a9 100644
--- a/chrome/browser/resources/ntp4/page_list_view.js
+++ b/chrome/browser/resources/ntp4/page_list_view.js
@@ -295,7 +295,7 @@ cr.define('ntp4', function() {
// Sort by launch index
apps.sort(function(a, b) {
- return a.app_launch_index - b.app_launch_index;
+ return a.app_launch_index > b.app_launch_index;
});
// An app to animate (in case it was just installed).

Powered by Google App Engine
This is Rietveld 408576698