Index: bench/nanobench.cpp |
diff --git a/bench/nanobench.cpp b/bench/nanobench.cpp |
index 85685fb3bccd52febb98fef804a86e2307f581cf..2fba1f053373c21e9aba473d65b79111f0464aaa 100644 |
--- a/bench/nanobench.cpp |
+++ b/bench/nanobench.cpp |
@@ -47,6 +47,8 @@ |
SkAutoTDelete<GrContextFactory> gGrFactory; |
#endif |
+ struct GrContextOptions; |
+ |
__SK_FORCE_IMAGE_DECODER_LINKING; |
static const int kAutoTuneLoops = 0; |
@@ -844,7 +846,7 @@ int nanobench_main() { |
SkTaskGroup::Enabler enabled; |
#if SK_SUPPORT_GPU |
- GrContext::Options grContextOpts; |
+ GrContextOptions grContextOpts; |
grContextOpts.fDrawPathToCompressedTexture = FLAGS_gpuCompressAlphaMasks; |
gGrFactory.reset(SkNEW_ARGS(GrContextFactory, (grContextOpts))); |
#endif |