Chromium Code Reviews| Index: src/gpu/GrContext.cpp |
| diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp |
| index e208cddec4c89a83f4291c000223b8b1de718541..eb8455adbbae89355d4521fbbbeb140ede4643f7 100755 |
| --- a/src/gpu/GrContext.cpp |
| +++ b/src/gpu/GrContext.cpp |
| @@ -1941,3 +1941,10 @@ void GrContext::printCacheStats() const { |
| fResourceCache->printStats(); |
| } |
| #endif |
| + |
| +#if GR_GPU_STATS |
| +const GrContext::GPUStats* GrContext::gpuStats() const { |
| + return fGpu->gpuStats(); |
| +} |
| +#endif |
| + |