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

Unified Diff: bench/GLBench.h

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/FontScalerBench.cpp ('k') | bench/GLBench.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bench/GLBench.h
diff --git a/bench/GLBench.h b/bench/GLBench.h
index dde0358abc6d104051bdf43ea96f762963f92b5d..9033b12e55a24aec669ef5412616b38322fce66c 100644
--- a/bench/GLBench.h
+++ b/bench/GLBench.h
@@ -33,8 +33,8 @@ protected:
virtual void setup(const GrGLContext*)=0;
void onPostDraw(SkCanvas* canvas) override;
virtual void teardown(const GrGLInterface*)=0;
- void onDraw(const int loops, SkCanvas*) override;
- virtual void glDraw(const int loops, const GrGLContext*)=0;
+ void onDraw(int loops, SkCanvas*) override;
+ virtual void glDraw(int loops, const GrGLContext*)=0;
static GrGLuint CompileShader(const GrGLInterface*, const char* shaderSrc, GrGLenum type);
static GrGLuint CreateProgram(const GrGLInterface*, const char* vshader, const char* fshader);
static GrGLuint SetupFramebuffer(const GrGLInterface*, int screenWidth, int screenHeight);
« no previous file with comments | « bench/FontScalerBench.cpp ('k') | bench/GLBench.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698