Index: chrome/browser/resources/options/password_manager.js |
diff --git a/chrome/browser/resources/options/password_manager.js b/chrome/browser/resources/options/password_manager.js |
index ed8e30a0464260313025290c9d12ebcf490781e9..6e16ebac5e14d48e2cba966de98e8638f585fa26 100644 |
--- a/chrome/browser/resources/options/password_manager.js |
+++ b/chrome/browser/resources/options/password_manager.js |
@@ -180,7 +180,7 @@ cr.define('options', function() { |
entry[1].toLowerCase().indexOf(query.toLowerCase()) >= 0) { |
// Keep the original index so we can delete correctly. See also |
// deleteItemAtIndex() in password_manager_list.js that uses this. |
- entry[3] = index; |
+ entry[4] = index; |
return true; |
} |
return false; |
@@ -214,7 +214,7 @@ cr.define('options', function() { |
// index in the model, but each entry stores its original index, so |
// we can find the item using a linear search. |
for (var i = 0; i < model.length; ++i) { |
- if (model.item(i)[3] == index) { |
+ if (model.item(i)[4] == index) { |
index = i; |
break; |
} |