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

Unified Diff: ui/file_manager/gallery/js/ribbon.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
Index: ui/file_manager/gallery/js/ribbon.js
diff --git a/ui/file_manager/gallery/js/ribbon.js b/ui/file_manager/gallery/js/ribbon.js
index 57857b3ff653303cb522eecbd898864da9b761dd..b55c31729567d61296ba3927b62f78fbe350e9ab 100644
--- a/ui/file_manager/gallery/js/ribbon.js
+++ b/ui/file_manager/gallery/js/ribbon.js
@@ -414,7 +414,7 @@ Ribbon.prototype.removeVanishing_ = function() {
* @private
*/
Ribbon.prototype.renderThumbnail_ = function(index) {
- var item = assertInstanceof(this.dataModel_.item(index), Gallery.Item);
+ var item = assertInstanceof(this.dataModel_.item(index), GalleryItem);
var url = item.getEntry().toURL();
var cached = this.renderCache_[url];
@@ -452,7 +452,7 @@ Ribbon.prototype.renderThumbnail_ = function(index) {
* Set the thumbnail image.
*
* @param {!Element} thumbnail Thumbnail element.
- * @param {!Gallery.Item} item Gallery item.
+ * @param {!GalleryItem} item Gallery item.
* @private
*/
Ribbon.prototype.setThumbnailImage_ = function(thumbnail, item) {
« no previous file with comments | « ui/file_manager/gallery/js/image_editor/image_view_unittest.js ('k') | ui/file_manager/gallery/js/slide_mode.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698