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

Unified Diff: ui/file_manager/gallery/js/image_editor/image_util.js

Issue 1010163002: Files.app: Fix closure error which will raised by the updated compiler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Define FakeEntry record type and use it. Created 5 years, 9 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/image_editor/image_util.js
diff --git a/ui/file_manager/gallery/js/image_editor/image_util.js b/ui/file_manager/gallery/js/image_editor/image_util.js
index 76481b5021430c14e5f400fdea52641ae09ab499..ebbd8e59e1905f606c7ba42dc4c454d821bbdeaf 100644
--- a/ui/file_manager/gallery/js/image_editor/image_util.js
+++ b/ui/file_manager/gallery/js/image_editor/image_util.js
@@ -513,7 +513,7 @@ ImageUtil.ImageLoader.prototype.load = function(item, callback, opt_delay) {
var loadImage = function() {
ImageUtil.metrics.startInterval(ImageUtil.getMetricName('LoadTime'));
- this.timeout_ = null;
+ this.timeout_ = 0;
this.image_.onload = function() {
this.image_.onerror = null;

Powered by Google App Engine
This is Rietveld 408576698