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

Unified Diff: ui/file_manager/file_manager/foreground/js/file_table.js

Issue 484083002: Use new operator consistently for constructor-like functions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use new operator consistently for constructor-like functions. Created 6 years, 4 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 | « ui/file_manager/file_manager/foreground/js/directory_tree.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/file_manager/foreground/js/file_table.js
diff --git a/ui/file_manager/file_manager/foreground/js/file_table.js b/ui/file_manager/file_manager/foreground/js/file_table.js
index add85a20f3799dcbeaba127b98c7d05373e2b2d1..e7d063e7281e471f5d58dbb6e07e444e66a5ee71 100644
--- a/ui/file_manager/file_manager/foreground/js/file_table.js
+++ b/ui/file_manager/file_manager/foreground/js/file_table.js
@@ -298,7 +298,7 @@ FileTable.decorate = function(self, metadataCache, volumeManager, fullPage) {
self.setRenderFunction(self.renderTableRow_.bind(self,
self.getRenderFunction()));
- self.scrollBar_ = MainPanelScrollBar();
+ self.scrollBar_ = new MainPanelScrollBar();
self.scrollBar_.initialize(self, self.list);
// Keep focus on the file list when clicking on the header.
self.header.addEventListener('mousedown', function(e) {
« no previous file with comments | « ui/file_manager/file_manager/foreground/js/directory_tree.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698