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

Unified Diff: tools/turbolizer/selection.js

Issue 2230083004: [turbolizer] Use locations rather than ranges everywhere (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Remove stray change Created 4 years, 4 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 | « tools/turbolizer/schedule-view.js ('k') | tools/turbolizer/selection-broker.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/turbolizer/selection.js
diff --git a/tools/turbolizer/selection.js b/tools/turbolizer/selection.js
index e9c02dda9e70e4883ce133c29dd1751c94fe5b59..26f1bde197260650d5c669a6011ad4f354ecf30f 100644
--- a/tools/turbolizer/selection.js
+++ b/tools/turbolizer/selection.js
@@ -40,6 +40,7 @@ Selection.prototype.select = function(s, isSelected) {
}
this.selection.add(i);
}
+ handler.select(this.selection, true);
} else {
let unselectSet = new Set();
for (let i of s) {
@@ -48,8 +49,8 @@ Selection.prototype.select = function(s, isSelected) {
this.selection.delete(i);
}
}
+ handler.select(unselectSet, false);
}
- handler.select(this.selection, isSelected);
}
« no previous file with comments | « tools/turbolizer/schedule-view.js ('k') | tools/turbolizer/selection-broker.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698