Index: ui/file_manager/file_manager/foreground/js/metadata/id3_parser.js |
diff --git a/ui/file_manager/file_manager/foreground/js/metadata/id3_parser.js b/ui/file_manager/file_manager/foreground/js/metadata/id3_parser.js |
index 98ff5e6d7ca3fa08005592bbd86f445b66d57787..7e2113b4445ee61bdc4750befd56c8176b8b626d 100644 |
--- a/ui/file_manager/file_manager/foreground/js/metadata/id3_parser.js |
+++ b/ui/file_manager/file_manager/foreground/js/metadata/id3_parser.js |
@@ -267,7 +267,7 @@ Id3Parser.prototype.parse = function(file, metadata, callback, onError) { |
* @param {File} file File which bytes to read. |
*/ |
function readTail(file) { |
- util.readFileBytes(file, file.size - 128, file.size, |
+ MetadataParser.readFileBytes(file, file.size - 128, file.size, |
this.nextStep, this.onError); |
}, |
@@ -311,7 +311,8 @@ Id3Parser.prototype.parse = function(file, metadata, callback, onError) { |
'id3v2parser', |
[ |
function readHead(file) { |
- util.readFileBytes(file, 0, 10, this.nextStep, this.onError); |
+ MetadataParser.readFileBytes(file, 0, 10, this.nextStep, |
+ this.onError); |
}, |
/** |
@@ -329,8 +330,8 @@ Id3Parser.prototype.parse = function(file, metadata, callback, onError) { |
id3v2.flags = reader.readScalar(1, false); |
id3v2.size = Id3Parser.readSynchSafe_(reader, 4); |
- util.readFileBytes(file, 10, 10 + id3v2.size, this.nextStep, |
- this.onError); |
+ MetadataParser.readFileBytes(file, 10, 10 + id3v2.size, |
+ this.nextStep, this.onError); |
} else { |
this.finish(); |
} |