Index: chrome/test/data/perf/rendering/throughput/canvas2d_balls_common/bouncing_balls_draw_ball_as_text.js |
diff --git a/chrome/test/data/perf/rendering/throughput/canvas2d_balls_common/bouncing_balls_draw_ball_as_text.js b/chrome/test/data/perf/rendering/throughput/canvas2d_balls_common/bouncing_balls_draw_ball_as_text.js |
deleted file mode 100644 |
index 079280de3c087e932654a0efa501ace712d3644c..0000000000000000000000000000000000000000 |
--- a/chrome/test/data/perf/rendering/throughput/canvas2d_balls_common/bouncing_balls_draw_ball_as_text.js |
+++ /dev/null |
@@ -1,21 +0,0 @@ |
-// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-var ballScale; |
- |
-function drawBallInit(diameter) { |
- var metrics = canvasContext.measureText("Chrome"); |
- ballScale = diameter/metrics.width |
-} |
- |
-function drawBall(x, y, angle) { |
- canvasContext.save(); |
- canvasContext.fillStyle = 'blue'; |
- canvasContext.translate(x, y); |
- canvasContext.rotate(angle); |
- canvasContext.scale(ballScale, ballScale); |
- canvasContext.textAlign = "center"; |
- canvasContext.fillText("Chrome", 0, 0); |
- canvasContext.restore(); |
-} |