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

Unified Diff: Source/devtools/front_end/timeline/TimelineFlameChart.js

Issue 450973002: DevTools: animate changes to flame chart window. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
Index: Source/devtools/front_end/timeline/TimelineFlameChart.js
diff --git a/Source/devtools/front_end/timeline/TimelineFlameChart.js b/Source/devtools/front_end/timeline/TimelineFlameChart.js
index d76812f5e839ef203410a724b1d874087f9c4baa..f3aa6e51775eaf0acfe8e7e33769ea6ae8871347 100644
--- a/Source/devtools/front_end/timeline/TimelineFlameChart.js
+++ b/Source/devtools/front_end/timeline/TimelineFlameChart.js
@@ -367,13 +367,17 @@ WebInspector.TimelineFlameChartDataProvider.prototype = {
var frame = this._entryIndexToFrame[entryIndex];
if (frame) {
context.save();
+
yurys 2014/08/08 12:40:43 Remove empty line.
context.translate(0.5, 0.5);
context.beginPath();
context.moveTo(barX, barY);
context.lineTo(barX, context.canvas.height);
- context.strokeStyle = "rgba(100, 100, 100, 0.6)";
+ context.strokeStyle = "rgba(100, 100, 100, 0.4)";
+ context.setLineDash([5]);
context.stroke();
+ context.setLineDash([]);
+
yurys 2014/08/08 12:40:43 Remove empty line.
var padding = 4 * window.devicePixelRatio;
barX += padding;

Powered by Google App Engine
This is Rietveld 408576698