| Index: ui/file_manager/image_loader/image_loader.js
|
| diff --git a/ui/file_manager/image_loader/image_loader.js b/ui/file_manager/image_loader/image_loader.js
|
| index 3f26ea17243b17f50ecdffe9e70c4b9fa64ebae9..72d0f1ee4398e0d87957077df5c5487854c8aad5 100644
|
| --- a/ui/file_manager/image_loader/image_loader.js
|
| +++ b/ui/file_manager/image_loader/image_loader.js
|
| @@ -71,6 +71,9 @@ function ImageLoader() {
|
| if (typeof request.orientation === 'number') {
|
| request.orientation =
|
| ImageOrientation.fromDriveOrientation(request.orientation);
|
| + } else if (request.orientation) {
|
| + request.orientation =
|
| + ImageOrientation.fromRotationAndScale(request.orientation);
|
| } else {
|
| request.orientation = new ImageOrientation(1, 0, 0, 1);
|
| }
|
| @@ -127,4 +130,4 @@ ImageLoader.getInstance = function() {
|
| if (!ImageLoader.instance_)
|
| ImageLoader.instance_ = new ImageLoader();
|
| return ImageLoader.instance_;
|
| -};
|
| +};
|
|
|