Chromium Code Reviews| Index: ui/file_manager/gallery/js/image_editor/image_view.js |
| diff --git a/ui/file_manager/gallery/js/image_editor/image_view.js b/ui/file_manager/gallery/js/image_editor/image_view.js |
| index 274cfbf6e58553ad4db74533697ba28c2cf22922..865a31d08d7dc91267dac12a3fdf7f2c9b22f905 100644 |
| --- a/ui/file_manager/gallery/js/image_editor/image_view.js |
| +++ b/ui/file_manager/gallery/js/image_editor/image_view.js |
| @@ -381,8 +381,7 @@ ImageView.prototype.load = |
| loadType, ImageView.LOAD_TYPE_TOTAL); |
| if (loadType === ImageView.LOAD_TYPE_ERROR && |
| - !navigator.onLine && metadata.streaming) { |
| - // |streaming| is set only when the file is not locally cached. |
| + !navigator.onLine && !metadata.present) { |
|
hirono
2014/08/29 10:22:54
metadata.drive.present?
mtomasz
2014/09/01 00:19:44
Done.
|
| loadType = ImageView.LOAD_TYPE_OFFLINE; |
| } |
| if (loadCallback) loadCallback(loadType, animationDuration, opt_error); |