Index: gm/gmmain.cpp |
diff --git a/gm/gmmain.cpp b/gm/gmmain.cpp |
index de9e1a15a0566934abfcfc21be23863916b0a93c..165c5affb7278556732e91080e5931c2f20b7231 100644 |
--- a/gm/gmmain.cpp |
+++ b/gm/gmmain.cpp |
@@ -46,7 +46,6 @@ |
#ifdef SK_DEBUG |
static const bool kDebugOnly = true; |
-#define GR_DUMP_FONT_CACHE 0 |
#else |
static const bool kDebugOnly = false; |
#endif |
@@ -2409,18 +2408,6 @@ |
} |
#endif |
-#if GR_DUMP_FONT_CACHE |
- for (int i = 0; i < configs.count(); i++) { |
- ConfigData config = gRec[configs[i]]; |
- |
- if (kGPU_Backend == config.fBackend) { |
- GrContext* gr = grFactory->get(config.fGLContextType); |
- |
- gr->dumpFontCache(); |
- } |
- } |
-#endif |
- |
delete grFactory; |
#endif |
SkGraphics::Term(); |