| Index: tracing/tracing/ui/base/event_presenter.html
|
| diff --git a/tracing/tracing/ui/base/event_presenter.html b/tracing/tracing/ui/base/event_presenter.html
|
| index 25e4743311796652bf3cfa28a1176b24b0b24c86..684973816879425e01265afb89772056fab1cb6e 100644
|
| --- a/tracing/tracing/ui/base/event_presenter.html
|
| +++ b/tracing/tracing/ui/base/event_presenter.html
|
| @@ -19,7 +19,7 @@ tr.exportTo('tr.ui.b', function() {
|
|
|
| var colors = ColorScheme.colors;
|
| var colorsAsStrings = ColorScheme.colorsAsStrings;
|
| - var numBaseColors = ColorScheme.properties.numBaseColors;
|
| + var numColorsPerVariant = ColorScheme.properties.numColorsPerVariant;
|
|
|
| var SelectionState = tr.model.SelectionState;
|
|
|
| @@ -80,7 +80,7 @@ tr.exportTo('tr.ui.b', function() {
|
| getBarSnapshotColor: function(snapshot, offset) {
|
| var colorId =
|
| (snapshot.objectInstance.colorId + offset) %
|
| - numBaseColors;
|
| + numColorsPerVariant;
|
| colorId += this.getColorIdOffset_(snapshot);
|
| return colors[colorId].toStringWithAlphaOverride(1.0);
|
| }
|
|
|