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

Unified Diff: bench/GMBench.cpp

Issue 1379923005: Remove const from `const int loops`. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: n too Created 5 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 | « bench/GMBench.h ('k') | bench/GameBench.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bench/GMBench.cpp
diff --git a/bench/GMBench.cpp b/bench/GMBench.cpp
index bcc83eb18c7d4cd7c9d77cd985939d08f06939c5..57f0d3c519c582a3f9b93145a1ccaa18b8d54f65 100644
--- a/bench/GMBench.cpp
+++ b/bench/GMBench.cpp
@@ -21,7 +21,7 @@ bool GMBench::isSuitableFor(Backend backend) {
return kNonRendering_Backend != backend;
}
-void GMBench::onDraw(const int loops, SkCanvas* canvas) {
+void GMBench::onDraw(int loops, SkCanvas* canvas) {
// Do we care about timing the draw of the background (once)?
// Does the GM ever rely on drawBackground to lazily compute something?
fGM->drawBackground(canvas);
« no previous file with comments | « bench/GMBench.h ('k') | bench/GameBench.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698