Index: src/core/SkGlyphCache.cpp |
diff --git a/src/core/SkGlyphCache.cpp b/src/core/SkGlyphCache.cpp |
index 6ae17b10741bc00204000daf1974137e3e5db967..ec342275cc6f3c6354eb60d0c16eeebcb8d0767b 100755 |
--- a/src/core/SkGlyphCache.cpp |
+++ b/src/core/SkGlyphCache.cpp |
@@ -9,11 +9,10 @@ |
#include "SkGlyphCache_Globals.h" |
#include "SkGraphics.h" |
#include "SkLazyPtr.h" |
-#include "SkMutex.h" |
#include "SkPaint.h" |
#include "SkPath.h" |
+#include "SkTemplates.h" |
#include "SkTLS.h" |
-#include "SkTemplates.h" |
#include "SkTypeface.h" |
//#define SPEW_PURGE_STATUS |
@@ -418,6 +417,8 @@ |
/////////////////////////////////////////////////////////////////////////////// |
/////////////////////////////////////////////////////////////////////////////// |
+#include "SkThread.h" |
+ |
size_t SkGlyphCache_Globals::setCacheSizeLimit(size_t newLimit) { |
static const size_t minLimit = 256 * 1024; |
if (newLimit < minLimit) { |