suppress font-purge messages
git-svn-id: http://skia.googlecode.com/svn/trunk@2623 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gm/gmmain.cpp b/gm/gmmain.cpp
index 99b1584..4e9ed90 100644
--- a/gm/gmmain.cpp
+++ b/gm/gmmain.cpp
@@ -23,6 +23,8 @@
#include "SkStream.h"
#include "SkRefCnt.h"
+extern bool gSkSuppressFontCachePurgeSpew;
+
#ifdef SK_SUPPORT_PDF
#include "SkPDFDevice.h"
#include "SkPDFDocument.h"
@@ -565,6 +567,8 @@
int main(int argc, char * const argv[]) {
SkAutoGraphics ag;
+ // we don't need to see this during a run
+ gSkSuppressFontCachePurgeSpew = true;
const char* writePath = NULL; // if non-null, where we write the originals
const char* readPath = NULL; // if non-null, were we read from to compare