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

Unified Diff: ui/file_manager/gallery/js/gallery_item.js

Issue 384413002: Gallery.app: Do not create images for each operation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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/gallery_item.js
diff --git a/ui/file_manager/gallery/js/gallery_item.js b/ui/file_manager/gallery/js/gallery_item.js
index 107dbe532a2bba8215400f3427bdb5672d6cf931..77fae903ee9188f41d507c821d7ff1b64857129a 100644
--- a/ui/file_manager/gallery/js/gallery_item.js
+++ b/ui/file_manager/gallery/js/gallery_item.js
@@ -12,7 +12,7 @@
* fetchedMedia metadata.
* @constructor
*/
-Gallery.Item = function(entry, metadata, metadataCache) {
+Gallery.Item = function(entry, metadata, metadataCache, original) {
/**
* @type {FileEntry}
* @private
@@ -34,7 +34,7 @@ Gallery.Item = function(entry, metadata, metadataCache) {
* @type {boolean}
* @private
*/
- this.original_ = true;
+ this.original_ = original;
Object.seal(this);
};
« 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