[ui] Rename `trackId` (i.e. UI track IDs) to `trackKey`, or just `key`
where appropriate.
Change-Id: I7c994b6328fdd22334c3369630e996e52149493b
diff --git a/ui/src/frontend/slice_track_base.ts b/ui/src/frontend/slice_track_base.ts
index e91d1e2..99eddc3 100644
--- a/ui/src/frontend/slice_track_base.ts
+++ b/ui/src/frontend/slice_track_base.ts
@@ -57,7 +57,7 @@
// notably onBoundsChange().
export abstract class SliceTrackBase extends BasicAsyncTrack<SliceData> {
constructor(
- private maxDepth: number, protected trackInstanceId: string,
+ private maxDepth: number, protected trackKey: string,
private tableName: string, private namespace?: string) {
super();
}
@@ -306,7 +306,7 @@
if (sliceId !== undefined && sliceId !== -1) {
globals.makeSelection(Actions.selectChromeSlice({
id: sliceId,
- trackId: this.trackInstanceId,
+ trackKey: this.trackKey,
table: this.namespace,
}));
return true;