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

Unified Diff: chrome/browser/resources/bookmark_manager/js/bmm/bookmarklist.js

Issue 646076: Bookmark manager drag and drop frontend (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 10 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
Index: chrome/browser/resources/bookmark_manager/js/bmm/bookmarklist.js
===================================================================
--- chrome/browser/resources/bookmark_manager/js/bmm/bookmarklist.js (revision 39450)
+++ chrome/browser/resources/bookmark_manager/js/bmm/bookmarklist.js (working copy)
@@ -61,7 +61,11 @@
cr.dispatchSimpleEvent(this, 'invalidId');
return;
}
- listLookup = {};
+ // Remove all fields without recreating the object since other code
+ // references it.
+ for (var id in listLookup){
+ delete listLookup[id];
+ }
this.clear();
var showFolder = this.showFolder();
items.forEach(function(item) {

Powered by Google App Engine
This is Rietveld 408576698