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

Unified Diff: tools/perf/page_sets/tough_canvas_cases/rendering_throughput/canvas_arcs.js

Issue 2047773002: Added telemetry pages for the canvas element. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Some formatting Created 4 years, 6 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: tools/perf/page_sets/tough_canvas_cases/rendering_throughput/canvas_arcs.js
diff --git a/tools/perf/page_sets/tough_canvas_cases/rendering_throughput/canvas_arcs.js b/tools/perf/page_sets/tough_canvas_cases/rendering_throughput/canvas_arcs.js
index e72f7b252f22807256c3ad7411909c893de665a8..dd630bf937af7b8bc173cc1dae5a5e45b8669811 100644
--- a/tools/perf/page_sets/tough_canvas_cases/rendering_throughput/canvas_arcs.js
+++ b/tools/perf/page_sets/tough_canvas_cases/rendering_throughput/canvas_arcs.js
@@ -44,6 +44,7 @@ function CanvasArc() {
this.counterclockwise = (Math.floor(Math.random() * 2) == 0);
this.arc_speed = (Math.random() - 0.5) * Math.PI / 10;
+
this.start_angle = Math.random() * 2 * Math.PI;
this.end_angle = Math.random() * 2 * Math.PI;
}

Powered by Google App Engine
This is Rietveld 408576698