diff --git a/bench/benchmain.cpp b/bench/benchmain.cpp index 5d840a02e..83d3dee04 100644 --- a/bench/benchmain.cpp +++ b/bench/benchmain.cpp @@ -1,4 +1,3 @@ - /* * Copyright 2011 Google Inc. * @@ -6,16 +5,6 @@ * found in the LICENSE file. */ -#if SK_SUPPORT_GPU -#include "GrContext.h" -#include "GrContextFactory.h" -#include "GrRenderTarget.h" -#include "SkGpuDevice.h" -#include "gl/GrGLDefines.h" -#else -class GrContext; -#endif // SK_SUPPORT_GPU - #include "BenchTimer.h" #include "SkBenchLogger.h" #include "SkBenchmark.h" @@ -30,6 +19,16 @@ class GrContext; #include "SkPicture.h" #include "SkString.h" +#if SK_SUPPORT_GPU +#include "GrContext.h" +#include "GrContextFactory.h" +#include "GrRenderTarget.h" +#include "SkGpuDevice.h" +#include "gl/GrGLDefines.h" +#else +class GrContext; +#endif // SK_SUPPORT_GPU + #include enum BenchMode {