diff options
Diffstat (limited to 'bench/nanobench.cpp')
-rw-r--r-- | bench/nanobench.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bench/nanobench.cpp b/bench/nanobench.cpp index f7f0bff82b..2246fbb07d 100644 --- a/bench/nanobench.cpp +++ b/bench/nanobench.cpp @@ -60,6 +60,7 @@ extern bool gSkForceRasterPipelineBlitter; #if SK_SUPPORT_GPU #include "gl/GrGLDefines.h" #include "GrCaps.h" + #include "GrContextPriv.h" #include "GrContextFactory.h" #include "gl/GrGLUtil.h" #include "SkGr.h" @@ -230,8 +231,8 @@ struct GPUTarget : public Target { } void dumpStats() override { - this->contextInfo.grContext()->printCacheStats(); - this->contextInfo.grContext()->printGpuStats(); + this->contextInfo.grContext()->contextPriv().printCacheStats(); + this->contextInfo.grContext()->contextPriv().printGpuStats(); } }; |