Index: bench/SkGlyphCacheBench.cpp |
diff --git a/bench/SkGlyphCacheBench.cpp b/bench/SkGlyphCacheBench.cpp |
index 78659615b8cb3e9403fc4d8b1a7cfb04e45f4ffd..c99b5728fd305e2d5afbb633b90a92216fcac905 100644 |
--- a/bench/SkGlyphCacheBench.cpp |
+++ b/bench/SkGlyphCacheBench.cpp |
@@ -50,7 +50,7 @@ protected: |
return backend == kNonRendering_Backend; |
} |
- void onDraw(const int loops, SkCanvas*) override { |
+ void onDraw(int loops, SkCanvas*) override { |
size_t oldCacheLimitSize = SkGraphics::GetFontCacheLimit(); |
SkGraphics::SetFontCacheLimit(fCacheSize); |
SkTypeface* typeface = sk_tool_utils::create_portable_typeface( |
@@ -87,7 +87,7 @@ protected: |
return backend == kNonRendering_Backend; |
} |
- void onDraw(const int loops, SkCanvas*) override { |
+ void onDraw(int loops, SkCanvas*) override { |
size_t oldCacheLimitSize = SkGraphics::GetFontCacheLimit(); |
SkGraphics::SetFontCacheLimit(fCacheSize); |
SkTypeface* typefaces[] = |