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

Unified Diff: tracing/tracing/extras/importer/v8/codemap.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/codemap.html
diff --git a/tracing/tracing/extras/importer/v8/codemap.html b/tracing/tracing/extras/importer/v8/codemap.html
index c33cf6d75581950ec385a3d6a31d65e27b6e95e5..491d17ca492dd592b26e6101e4c89df88ce98f70 100644
--- a/tracing/tracing/extras/importer/v8/codemap.html
+++ b/tracing/tracing/extras/importer/v8/codemap.html
@@ -133,7 +133,8 @@ tr.exportTo('tr.e.importer.v8', function() {
while (addr >= start) {
var node = tree.findGreatestLessThan(addr);
if (!node) break;
- var start2 = node.key, end2 = start2 + node.value.size;
+ var start2 = node.key;
+ var end2 = start2 + node.value.size;
if (start2 < end && start < end2) toDelete.push(start2);
addr = start2 - 1;
}
« no previous file with comments | « tracing/tracing/extras/importer/trace_event_importer.html ('k') | tracing/tracing/extras/importer/v8/splaytree.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698