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

Unified Diff: chrome/browser/resources/shared/js/cr/ui/table/table_header.js

Issue 9580035: Revert 124674 - Improving file manager js/css performance (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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
« no previous file with comments | « chrome/browser/resources/shared/js/cr/ui/table.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/shared/js/cr/ui/table/table_header.js
===================================================================
--- chrome/browser/resources/shared/js/cr/ui/table/table_header.js (revision 124785)
+++ chrome/browser/resources/shared/js/cr/ui/table/table_header.js (working copy)
@@ -68,25 +68,10 @@
}
},
- batchCount_: 0,
-
- startBatchUpdates: function() {
- this.batchCount_++;
- },
-
- endBatchUpdates: function() {
- this.batchCount_--;
- if (this.batchCount_ == 0)
- this.redraw();
- },
-
/**
* Redraws table header.
*/
redraw: function() {
- if (this.batchCount_ != 0)
- return;
-
var cm = this.table_.columnModel;
var dm = this.table_.dataModel;
« no previous file with comments | « chrome/browser/resources/shared/js/cr/ui/table.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698