Index: chrome/test/data/perf/rendering/throughput/canvas2d_balls_common/bouncing_balls_draw_ball_as_image_with_shadow.js |
diff --git a/chrome/test/data/perf/rendering/throughput/canvas2d_balls_common/bouncing_balls_draw_ball_as_image_with_shadow.js b/chrome/test/data/perf/rendering/throughput/canvas2d_balls_common/bouncing_balls_draw_ball_as_image_with_shadow.js |
deleted file mode 100644 |
index 0c30e66594034761b9621ed9a8b360d29700badf..0000000000000000000000000000000000000000 |
--- a/chrome/test/data/perf/rendering/throughput/canvas2d_balls_common/bouncing_balls_draw_ball_as_image_with_shadow.js |
+++ /dev/null |
@@ -1,24 +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 ballImage; |
-var ballRadius; |
- |
-function drawBallInit(diameter) { |
- ballRadius = diameter / 2; |
- ballImage = document.getElementById('ballImage'); |
-} |
- |
-function drawBall(x, y, angle) { |
- canvasContext.save(); |
- canvasContext.shadowColor = 'black'; |
- canvasContext.shadowOffsetX = -ballRadius; |
- canvasContext.shadowOffsetY = ballRadius; |
- canvasContext.shadowBlur = ballRadius; |
- canvasContext.translate(x, y); |
- canvasContext.rotate(angle); |
- canvasContext.drawImage(ballImage, -ballRadius, -ballRadius, ballDiameter, |
- ballDiameter); |
- canvasContext.restore(); |
-} |