Index: bench/nanobench.cpp |
diff --git a/bench/nanobench.cpp b/bench/nanobench.cpp |
index a3dbf22306105e9754df5fec0ed6c3cdcef4429f..0a374cac8dd15b044e5e7b475016e03ccfa435ac 100644 |
--- a/bench/nanobench.cpp |
+++ b/bench/nanobench.cpp |
@@ -112,7 +112,7 @@ static int gpu_bench(SkGLContextHelper* gl, |
SkCanvas* canvas, |
double* samples) { |
// Make sure we're done with whatever came before. |
- SK_GL(*gl, Finish); |
+ SK_GL(*gl, Finish()); |
// First, figure out how many loops it'll take to get a frame up to FLAGS_gpuMs. |
int loops = 1; |
@@ -131,7 +131,7 @@ static int gpu_bench(SkGLContextHelper* gl, |
loops = (int)ceil(loops * FLAGS_gpuMs / elapsed); |
// Might as well make sure we're not still timing our calibration. |
- SK_GL(*gl, Finish); |
+ SK_GL(*gl, Finish()); |
// Pretty much the same deal as the calibration: do some warmup to make |
// sure we're timing steady-state pipelined frames. |