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

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

Issue 2678723002: Compile several targets in Gallery in gyp v2. (Closed)
Patch Set: Rebased. Created 3 years, 10 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') | ui/file_manager/gallery/js/gallery_item.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/gallery/js/gallery_data_model.js
diff --git a/ui/file_manager/gallery/js/gallery_data_model.js b/ui/file_manager/gallery/js/gallery_data_model.js
index ad2b4e5671ffb12b87eee4468d472a6df28ec4fe..85ac647c27b692f9f011875e26bcc01455c7474a 100644
--- a/ui/file_manager/gallery/js/gallery_data_model.js
+++ b/ui/file_manager/gallery/js/gallery_data_model.js
@@ -84,7 +84,7 @@ GalleryDataModel.prototype.saveItem = function(
if (!util.isSameEntry(oldEntry, item.getEntry())) {
Promise.all([
this.metadataModel_.get(
- [oldEntry], Gallery.PREFETCH_PROPERTY_NAMES),
+ [oldEntry], GalleryItem.PREFETCH_PROPERTY_NAMES),
new ThumbnailModel(this.metadataModel_).get([oldEntry])
]).then(function(itemLists) {
// New entry is added and the item now tracks it.
« no previous file with comments | « ui/file_manager/gallery/js/gallery.js ('k') | ui/file_manager/gallery/js/gallery_item.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698