Index: ui/file_manager/file_manager/foreground/js/thumbnail_loader.js |
diff --git a/ui/file_manager/file_manager/foreground/js/thumbnail_loader.js b/ui/file_manager/file_manager/foreground/js/thumbnail_loader.js |
index 49898f024f14a3bccbb01c9a19ad50fb61bb9177..368e189a69149405dd6aa4b513a414b73eca4628 100644 |
--- a/ui/file_manager/file_manager/foreground/js/thumbnail_loader.js |
+++ b/ui/file_manager/file_manager/foreground/js/thumbnail_loader.js |
@@ -467,9 +467,8 @@ ThumbnailLoader.prototype.loadDetachedImage = function(callback) { |
priority: this.priority_, |
timestamp: modificationTime |
}; |
- if (this.metadata_ && this.metadata_.media && |
- this.metadata_.media.imageTransform) { |
- loaderOptions.orientation = this.metadata_.media.imageTransform; |
+ if (this.transform_) { |
+ loaderOptions.orientation = this.transform_; |
} |
// Comsume the transform parameter to avoid duplicated transformation in |
// getImage(). |