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

Unified Diff: tracing/tracing/extras/importer/v8/splaytree.html

Issue 2432993005: Turn on eslint rule one-var and fix existing errors. (Closed)
Patch Set: Created 4 years, 2 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/extras/importer/v8/splaytree.html
diff --git a/tracing/tracing/extras/importer/v8/splaytree.html b/tracing/tracing/extras/importer/v8/splaytree.html
index a3d7a244f7533de4313cac549f4d4b4d70d17b6a..053c220569e882aa02a87edaf8ec8d663a4ef7f4 100644
--- a/tracing/tracing/extras/importer/v8/splaytree.html
+++ b/tracing/tracing/extras/importer/v8/splaytree.html
@@ -207,7 +207,9 @@ tr.exportTo('tr.e.importer.v8', function() {
// the L tree of the algorithm. The left child of the dummy node
// will hold the R tree of the algorithm. Using a dummy node, left
// and right will always be nodes and we avoid special cases.
- var dummy, left, right;
+ var dummy;
+ var left;
+ var right;
dummy = left = right = new SplayTree.Node(null, null);
var current = this.root_;
while (true) {
« no previous file with comments | « tracing/tracing/extras/importer/v8/codemap.html ('k') | tracing/tracing/metrics/compare_samples_cmdline.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698