Index: Source/devtools/front_end/components/FlameChart.js |
diff --git a/Source/devtools/front_end/components/FlameChart.js b/Source/devtools/front_end/components/FlameChart.js |
index 42637d929c50adde4bc15073d3f64c945ea50812..b90952a97cefe05933c975d3779304da0be7c624 100644 |
--- a/Source/devtools/front_end/components/FlameChart.js |
+++ b/Source/devtools/front_end/components/FlameChart.js |
@@ -156,6 +156,12 @@ WebInspector.FlameChartDataProvider.prototype = { |
markerTitle: function(index) { }, |
/** |
+ * @param {number} index |
+ * @return {boolean} |
+ */ |
+ isTallMarker: function(index) { }, |
+ |
+ /** |
* @return {number} |
*/ |
minimumBoundary: function() { }, |
@@ -1038,6 +1044,17 @@ WebInspector.FlameChart.prototype = { |
context.moveTo(position, 0); |
context.lineTo(position, height); |
context.stroke(); |
+ if (this._dataProvider.isTallMarker(i)) { |
+ context.save() |
+ context.lineWidth = 0.5; |
+ context.translate(0.5, 0.5); |
+ context.beginPath(); |
+ context.moveTo(position, height); |
+ context.setLineDash([10, 5]); |
+ context.lineTo(position, this._canvas.height); |
+ context.stroke(); |
+ context.restore(); |
+ } |
} |
context.restore(); |
}, |