aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core
diff options
context:
space:
mode:
authorGravatar bungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-09-04 13:49:59 +0000
committerGravatar bungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-09-04 13:49:59 +0000
commitb24b4fa12be03807a0c3c710ec5ad102f3a8e145 (patch)
tree80bd8cc96260d1bc6273c02808aeddc786e3ac7c /include/core
parent6806bdaca8b22927ba7ef537fd5336311c7258e1 (diff)
Future proof luminance caches.
Diffstat (limited to 'include/core')
-rw-r--r--include/core/SkPaint.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/core/SkPaint.h b/include/core/SkPaint.h
index 096344f6dd..50fcdd825e 100644
--- a/include/core/SkPaint.h
+++ b/include/core/SkPaint.h
@@ -951,12 +951,15 @@ private:
void (*proc)(const SkDescriptor*, void*),
void* context, bool ignoreGamma = false) const;
+ static void Term();
+
enum {
kCanonicalTextSizeForPaths = 64
};
friend class SkAutoGlyphCache;
friend class SkCanvas;
friend class SkDraw;
+ friend class SkGraphics; // So Term() can be called.
friend class SkPDFDevice;
friend class SkTextToPathIter;