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

Unified Diff: ui/file_manager/gallery/js/image_editor/image_view.js

Issue 522533003: [fsp] Remove the unused streaming field. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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 | « ui/file_manager/gallery/js/gallery.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « ui/file_manager/gallery/js/gallery.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698