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

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

Issue 2678723002: Compile several targets in Gallery in gyp v2. (Closed)
Patch Set: Rebased. Created 3 years, 10 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
« no previous file with comments | « ui/file_manager/gallery/js/image_editor/image_util.js ('k') | ui/file_manager/gallery/js/slide_mode.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/gallery/js/image_editor/image_view.js
diff --git a/ui/file_manager/gallery/js/image_editor/image_view.js b/ui/file_manager/gallery/js/image_editor/image_view.js
index f97c89972dd0a9ebbffb6424c8e3d862ac7dd971..0c556cb7014da3f498b912d375480efaee4f567e 100644
--- a/ui/file_manager/gallery/js/image_editor/image_view.js
+++ b/ui/file_manager/gallery/js/image_editor/image_view.js
@@ -360,7 +360,7 @@ ImageView.prototype.load =
this.lastLoadTime_ = time;
}
- ImageUtil.metrics.startInterval(ImageUtil.getMetricName('DisplayTime'));
+ metrics.startInterval(ImageUtil.getMetricName('DisplayTime'));
var self = this;
@@ -469,9 +469,9 @@ ImageView.prototype.load =
if (loadType !== ImageView.LoadType.ERROR &&
loadType !== ImageView.LoadType.CACHED_SCREEN) {
- ImageUtil.metrics.recordInterval(ImageUtil.getMetricName('DisplayTime'));
+ metrics.recordInterval(ImageUtil.getMetricName('DisplayTime'));
}
- ImageUtil.metrics.recordEnum(ImageUtil.getMetricName('LoadMode'),
+ metrics.recordEnum(ImageUtil.getMetricName('LoadMode'),
loadType, Object.keys(ImageView.LoadType).length);
if (loadType === ImageView.LoadType.ERROR &&
« no previous file with comments | « ui/file_manager/gallery/js/image_editor/image_util.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