| Index: ui/file_manager/file_manager/foreground/js/directory_contents.js
|
| diff --git a/ui/file_manager/file_manager/foreground/js/directory_contents.js b/ui/file_manager/file_manager/foreground/js/directory_contents.js
|
| index c1b0f2bc3947a9823f928f68e807d95b4cc921ac..a436f9459183a4433c33e781e10cc34c684f80c9 100644
|
| --- a/ui/file_manager/file_manager/foreground/js/directory_contents.js
|
| +++ b/ui/file_manager/file_manager/foreground/js/directory_contents.js
|
| @@ -566,6 +566,9 @@ DirectoryContents.prototype.clone = function() {
|
| */
|
| DirectoryContents.prototype.dispose = function() {
|
| this.context_.metadataCache.resizeBy(-this.lastSpaceInMetadataCache_);
|
| + // Though the lastSpaceInMetadataCache_ is not supposed to be referred after
|
| + // dispose(), keep it synced with requested cache size just in case.
|
| + this.lastSpaceInMetadataCache_ = 0;
|
| };
|
|
|
| /**
|
|
|