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

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

Issue 1408533002: Turn on verbose flag for compiling file_manager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use type cast for createElement, fix indent. Created 5 years, 2 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_data_model_unittest.html » ('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 d7680163376e1bbec5fd07392cd90f33cfbf34e3..21f1a3db93023c93bb2a2fbf0d450141bf4da063 100644
--- a/ui/file_manager/gallery/js/gallery_data_model.js
+++ b/ui/file_manager/gallery/js/gallery_data_model.js
@@ -58,7 +58,7 @@ GalleryDataModel.prototype = {
* Saves new image.
*
* @param {!VolumeManagerWrapper} volumeManager Volume manager instance.
- * @param {!Gallery.Item} item Original gallery item.
+ * @param {!GalleryItem} item Original gallery item.
* @param {!HTMLCanvasElement} canvas Canvas containing new image.
* @param {boolean} overwrite Set true to overwrite original if it's possible.
* @return {!Promise} Promise to be fulfilled with when the operation completes.
@@ -97,7 +97,7 @@ GalleryDataModel.prototype.saveItem = function(
]).then(function(itemLists) {
// New entry is added and the item now tracks it.
// Add another item for the old entry.
- var anotherItem = new Gallery.Item(
+ var anotherItem = new GalleryItem(
oldEntry,
oldLocationInfo,
itemLists[0][0],
« no previous file with comments | « ui/file_manager/gallery/js/gallery.js ('k') | ui/file_manager/gallery/js/gallery_data_model_unittest.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698