diff options
Diffstat (limited to 'bench/nanobench.cpp')
-rw-r--r-- | bench/nanobench.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/bench/nanobench.cpp b/bench/nanobench.cpp index 2fba1f0533..85685fb3bc 100644 --- a/bench/nanobench.cpp +++ b/bench/nanobench.cpp @@ -47,8 +47,6 @@ SkAutoTDelete<GrContextFactory> gGrFactory; #endif - struct GrContextOptions; - __SK_FORCE_IMAGE_DECODER_LINKING; static const int kAutoTuneLoops = 0; @@ -846,7 +844,7 @@ int nanobench_main() { SkTaskGroup::Enabler enabled; #if SK_SUPPORT_GPU - GrContextOptions grContextOpts; + GrContext::Options grContextOpts; grContextOpts.fDrawPathToCompressedTexture = FLAGS_gpuCompressAlphaMasks; gGrFactory.reset(SkNEW_ARGS(GrContextFactory, (grContextOpts))); #endif |