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

Unified Diff: ui/file_manager/file_manager/foreground/js/metadata/image_parsers.js

Issue 824003004: Add type annotations to metadata_dispatcher.js. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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/file_manager/foreground/js/metadata/image_parsers.js
diff --git a/ui/file_manager/file_manager/foreground/js/metadata/image_parsers.js b/ui/file_manager/file_manager/foreground/js/metadata/image_parsers.js
index bb60457a300a887b22fb843ba760b4f3a7fe7e48..441f380203fd367306e0cff49fe7d96d09caaa17 100644
--- a/ui/file_manager/file_manager/foreground/js/metadata/image_parsers.js
+++ b/ui/file_manager/file_manager/foreground/js/metadata/image_parsers.js
@@ -20,7 +20,7 @@ SimpleImageParser.prototype = {__proto__: ImageParser.prototype};
SimpleImageParser.prototype.parse = function(
file, metadata, callback, errorCallback) {
var self = this;
- util.readFileBytes(
+ MetadataParser.readFileBytes(
file, 0, this.headerSize,
function(file, br) {
try {

Powered by Google App Engine
This is Rietveld 408576698