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

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

Issue 1002493003: Optimize parameters of list thumbnail loader for MTP volume. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix annotations order. Created 5 years, 9 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/list_thumbnail_loader.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/file_manager.js
diff --git a/ui/file_manager/file_manager/foreground/js/file_manager.js b/ui/file_manager/file_manager/foreground/js/file_manager.js
index e1e71b4be2e2606b3fa4112f35c2ac4d8cc83464..a8c24b340d7af9f44d8f2df79d8571e2f449f26b 100644
--- a/ui/file_manager/file_manager/foreground/js/file_manager.js
+++ b/ui/file_manager/file_manager/foreground/js/file_manager.js
@@ -877,7 +877,8 @@ FileManager.prototype = /** @struct */ {
this.ui_.listContainer.listThumbnailLoader = new ListThumbnailLoader(
assert(this.directoryModel_.getFileList()),
- assert(this.thumbnailModel_));
+ assert(this.thumbnailModel_),
+ this.volumeManager_);
this.ui_.listContainer.dataModel = this.directoryModel_.getFileList();
this.ui_.listContainer.selectionModel =
this.directoryModel_.getFileListSelection();
« no previous file with comments | « no previous file | ui/file_manager/file_manager/foreground/js/list_thumbnail_loader.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698