aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar joshualitt <joshualitt@chromium.org>2015-04-01 11:30:27 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-04-01 11:30:28 -0700
commit2b6acb4ed52483bc2a89dbbaa6f0db4fdb217cd3 (patch)
treeda8193106415846812c4dd7f3b199f5592279074 /include
parent74415278ce23ed1b796e2def3b92724623dd44b0 (diff)
Switch to one single bitmap text blob cache allocation
Diffstat (limited to 'include')
-rw-r--r--include/core/SkPaint.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/core/SkPaint.h b/include/core/SkPaint.h
index 5015c49d69..2038e6f547 100644
--- a/include/core/SkPaint.h
+++ b/include/core/SkPaint.h
@@ -15,6 +15,7 @@
#include "SkXfermode.h"
class SkAnnotation;
+class SkAutoDescriptor;
class SkAutoGlyphCache;
class SkColorFilter;
class SkData;
@@ -1065,8 +1066,8 @@ private:
* Allocs an SkDescriptor on the heap and return it to the caller as a refcnted
* SkData. Caller is responsible for managing the lifetime of this object.
*/
- const SkData* getScalerContextDescriptor(const SkDeviceProperties* deviceProperties,
- const SkMatrix*, bool ignoreGamma) const;
+ void getScalerContextDescriptor(SkAutoDescriptor*, const SkDeviceProperties* deviceProperties,
+ const SkMatrix*, bool ignoreGamma) const;
SkGlyphCache* detachCache(const SkDeviceProperties* deviceProperties, const SkMatrix*,
bool ignoreGamma) const;