Index: ui/file_manager/gallery/js/gallery_item_unittest.js |
diff --git a/ui/file_manager/gallery/js/gallery_item_unittest.js b/ui/file_manager/gallery/js/gallery_item_unittest.js |
index 119fea5ad4b4c378bbc3f77467abed5bcc3d370b..8ce4bfff8d9138c56b4c8f5d9081ee3cf12c6798 100644 |
--- a/ui/file_manager/gallery/js/gallery_item_unittest.js |
+++ b/ui/file_manager/gallery/js/gallery_item_unittest.js |
@@ -77,7 +77,7 @@ function testSaveToFile(callback) { |
entryChanged = true; |
}; |
- var item = new Gallery.Item( |
+ var item = new GalleryItem( |
entry, |
{isReadOnly: false}, |
{size: 100}, |
@@ -125,7 +125,7 @@ function testSaveToFileWriteFailCase(callback) { |
}); |
}; |
- var item = new Gallery.Item( |
+ var item = new GalleryItem( |
entry, |
{isReadOnly: false}, |
{size: 100}, |
@@ -178,7 +178,7 @@ function testSaveToFileGetBlobFailCase(callback) { |
}); |
}; |
- var item = new Gallery.Item( |
+ var item = new GalleryItem( |
entry, |
{isReadOnly: false}, |
{size: 100}, |
@@ -229,7 +229,7 @@ function testSaveToFileRaw(callback) { |
entryChanged = true; |
}; |
- var item = new Gallery.Item( |
+ var item = new GalleryItem( |
fileSystem.entries['/test.arw'], |
{isReadOnly: false}, |
{size: 100}, |
@@ -276,7 +276,7 @@ function testIsWritableFile() { |
}; |
var getGalleryItem = function(path, fileSystem, isReadOnly) { |
- return new Gallery.Item(new MockEntry(fileSystem, path), |
+ return new GalleryItem(new MockEntry(fileSystem, path), |
{isReadOnly: isReadOnly}, |
{size: 100}, |
{}, |