Index: third_party/WebKit/Source/devtools/front_end/network/RequestTimingView.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/network/RequestTimingView.js b/third_party/WebKit/Source/devtools/front_end/network/RequestTimingView.js |
index fd29015ba3c65e16bf3e016ae67aee8b724fe8bb..4a76e3bd7ddd69e454a7eb57ae3ce57478f990eb 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/network/RequestTimingView.js |
+++ b/third_party/WebKit/Source/devtools/front_end/network/RequestTimingView.js |
@@ -282,7 +282,7 @@ Network.RequestTimingView = class extends UI.VBox { |
* @param {number} right |
*/ |
function addTiming(serverTiming, right) { |
- var colorGenerator = new PerfUI.FlameChart.ColorGenerator({min: 0, max: 360, count: 36}, {min: 50, max: 80}, 80); |
+ var colorGenerator = new Common.Color.Generator({min: 0, max: 360, count: 36}, {min: 50, max: 80}, 80); |
var isTotal = serverTiming.metric.toLowerCase() === 'total'; |
var tr = tableElement.createChild('tr', isTotal ? 'network-timing-footer' : ''); |
var metric = tr.createChild('td', 'network-timing-metric'); |