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

Unified Diff: ui/file_manager/file_manager/foreground/js/directory_tree.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 | « no previous file | ui/file_manager/file_manager/foreground/js/file_table.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/file_manager/foreground/js/directory_tree.js
diff --git a/ui/file_manager/file_manager/foreground/js/directory_tree.js b/ui/file_manager/file_manager/foreground/js/directory_tree.js
index 6c48f2aa220d82dc00c497178776caf6ea6eda19..faec383f0b0debd6889b43b8e710af36d3c09e7f 100644
--- a/ui/file_manager/file_manager/foreground/js/directory_tree.js
+++ b/ui/file_manager/file_manager/foreground/js/directory_tree.js
@@ -987,7 +987,7 @@ DirectoryTree.prototype.decorate = function(
chrome.fileBrowserPrivate.onDirectoryChanged.addListener(
this.privateOnDirectoryChangedBound_);
- this.scrollBar_ = MainPanelScrollBar();
+ this.scrollBar_ = new MainPanelScrollBar();
this.scrollBar_.initialize(this.parentNode, this);
/**
« no previous file with comments | « no previous file | ui/file_manager/file_manager/foreground/js/file_table.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698