fix warnings when running a no gpu build

R=mtklein@google.com

Review URL: https://codereview.chromium.org/26908002

git-svn-id: http://skia.googlecode.com/svn/trunk@11710 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/bench/benchmain.cpp b/bench/benchmain.cpp
index c443c34..b970d09 100644
--- a/bench/benchmain.cpp
+++ b/bench/benchmain.cpp
@@ -646,9 +646,8 @@
 #endif
                 timer.end();
 
-#if SK_SUPPORT_GPU
-                // currently we only setup the frame interval for the GPU
-                if (!frameIntervalComputed && NULL != glContext) {
+                // setup the frame interval for subsequent iterations
+                if (!frameIntervalComputed) {
                     frameIntervalTime += timer.fWall;
                     frameIntervalTotalLoops += loopsPerIter;
                     if (frameIntervalTime >= FLAGS_minMs) {
@@ -663,7 +662,7 @@
 //                                 timer.fWall, loopsPerFrame);
                     }
                 }
-#endif
+
                 const double current = timer.fWall / loopsPerIter;
                 if (FLAGS_verbose && current > previous) { SkDebugf("↑"); }
                 if (FLAGS_verbose) { SkDebugf("%.3g ", current); }