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

Unified Diff: chrome/browser/resources/md_downloads/downloads.js

Issue 2939273002: DO NOT SUBMIT: what chrome/browser/resources/ could eventually look like with clang-format (Closed)
Patch Set: Created 3 years, 6 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: chrome/browser/resources/md_downloads/downloads.js
diff --git a/chrome/browser/resources/md_downloads/downloads.js b/chrome/browser/resources/md_downloads/downloads.js
index 9f934af5bc9228cd9bd2bb048a202047834c4eec..fe3834c01f4aaa09fd5fb1e91aeb2debcbe6e8d0 100644
--- a/chrome/browser/resources/md_downloads/downloads.js
+++ b/chrome/browser/resources/md_downloads/downloads.js
@@ -5,10 +5,9 @@
window.addEventListener('load', function() {
downloads.Manager.onLoad().then(function() {
requestIdleCallback(function() {
- chrome.send('metricsHandler:recordTime', [
- 'Download.ResultsRenderedTime',
- window.performance.now()
- ]);
+ chrome.send(
+ 'metricsHandler:recordTime',
+ ['Download.ResultsRenderedTime', window.performance.now()]);
document.fonts.load('bold 12px Roboto');
});
});

Powered by Google App Engine
This is Rietveld 408576698