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

Unified Diff: tracing/tracing/ui/base/file.html

Issue 2776653002: [ESLint] Fix violations when enabling curly rule in eslint. (Closed)
Patch Set: rebase Created 3 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
« no previous file with comments | « tracing/tracing/ui/base/fast_rect_renderer.html ('k') | tracing/tracing/ui/base/grouping_table.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/ui/base/file.html
diff --git a/tracing/tracing/ui/base/file.html b/tracing/tracing/ui/base/file.html
index b58bfadfcd537e8f73579f30eaa9c5e5ce4b4080..3941b163d803a9df433f2652d01ec7ab623e3c45 100644
--- a/tracing/tracing/ui/base/file.html
+++ b/tracing/tracing/ui/base/file.html
@@ -22,10 +22,11 @@ tr.exportTo('tr.ui.b', function() {
};
var isBinary = filename.endsWith('.gz') || filename.endsWith('.zip');
- if (isBinary)
+ if (isBinary) {
reader.readAsArrayBuffer(fileBlob);
- else
+ } else {
reader.readAsText(fileBlob);
+ }
});
}
return {
« no previous file with comments | « tracing/tracing/ui/base/fast_rect_renderer.html ('k') | tracing/tracing/ui/base/grouping_table.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698