summaryrefslogtreecommitdiffstats
path: root/skia
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-26 00:06:42 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-26 00:06:42 +0000
commit095ccbe48d523005682353510c526f5310e5b01d (patch)
tree24d536b774a2221ed92350497fffa98c9dc0a349 /skia
parentbf98a0e1aede4510b84af40ee727d0cd6c8755f9 (diff)
downloadchromium_src-095ccbe48d523005682353510c526f5310e5b01d.zip
chromium_src-095ccbe48d523005682353510c526f5310e5b01d.tar.gz
chromium_src-095ccbe48d523005682353510c526f5310e5b01d.tar.bz2
Clean up remaining unused globals (on mac).
Found by clang's new -Wunused-const-variable. BUG=290204 R=akalin@chromium.org, jamesr@chromium.org, koz@chromium.org, piman@chromium.org, sergeyu@chromium.org, thestig@chromium.org, vitalybuka@chromium.org TBR=cpu, dmichael, joi, xhwang Review URL: https://codereview.chromium.org/24579003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225281 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia')
-rw-r--r--skia/ext/platform_canvas_unittest.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/skia/ext/platform_canvas_unittest.cc b/skia/ext/platform_canvas_unittest.cc
index d0d83dd..a9ae148 100644
--- a/skia/ext/platform_canvas_unittest.cc
+++ b/skia/ext/platform_canvas_unittest.cc
@@ -187,9 +187,6 @@ const int kInnerY = 5;
const int kInnerW = 2;
const int kInnerH = 3;
-// Radius used by some tests to draw a rounded-corner rectangle.
-const SkScalar kRadius = 2.0;
-
}
// This just checks that our checking code is working properly, it just uses
@@ -381,6 +378,7 @@ TEST(PlatformCanvas, TranslateLayer) {
SkRect rect;
rect.iset(kInnerX - 1, kInnerY - 1,
kInnerX + kInnerW, kInnerY + kInnerH);
+ const SkScalar kRadius = 2.0;
path.addRoundRect(rect, kRadius, kRadius);
canvas->clipPath(path);