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

Unified Diff: skia/ext/platform_canvas_unittest.cc

Issue 24579003: Clean up remaining unused globals (on mac). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: staticmedia Created 7 years, 3 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
« no previous file with comments | « remoting/host/service_urls.cc ('k') | sync/engine/syncer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/ext/platform_canvas_unittest.cc
diff --git a/skia/ext/platform_canvas_unittest.cc b/skia/ext/platform_canvas_unittest.cc
index d0d83dd3130dffd2d6c4bbda40a3bbece44cd516..a9ae148af4f89e7096c5a0ddf42a9adbbe22e398 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);
« no previous file with comments | « remoting/host/service_urls.cc ('k') | sync/engine/syncer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698