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

Unified Diff: tracing/tracing/trace2html.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
Index: tracing/tracing/trace2html.html
diff --git a/tracing/tracing/trace2html.html b/tracing/tracing/trace2html.html
index 4b410cb040e2c4460e25b4f4d5d547a8502dc170..60378b1a649d014cc268b31ee573055eb58a0e50 100644
--- a/tracing/tracing/trace2html.html
+++ b/tracing/tracing/trace2html.html
@@ -50,8 +50,9 @@ document.addEventListener('DOMContentLoaded', function() {
for (var i = 0; i < viewerDataScripts.length; i++) {
var text = Polymer.dom(viewerDataScripts[i]).textContent;
// Trim leading newlines off the text. They happen during writing.
- while (text[0] === '\n')
+ while (text[0] === '\n') {
text = text.substring(1);
+ }
traces.push(tr.b.Base64.atob(text));
}
« no previous file with comments | « tracing/tracing/mre/reduce_map_results_cmdline.html ('k') | tracing/tracing/ui/analysis/alert_sub_view.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698