aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkScalerContext.h
diff options
context:
space:
mode:
authorGravatar joshualitt <joshualitt@chromium.org>2015-07-29 10:14:58 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-07-29 10:14:58 -0700
commitaa2f65818dd626f87bb011c993a03015eb29db50 (patch)
treece5cf2d9e535da2bdd470a3521e62b30f05bfd5f /src/core/SkScalerContext.h
parent1e8a58b5680508c241f25f03af5b57502221f215 (diff)
Adding debug SkScalerContext which returns random mask formats
TBR=reed@google.com BUG=skia: Review URL: https://codereview.chromium.org/1260473004
Diffstat (limited to 'src/core/SkScalerContext.h')
-rw-r--r--src/core/SkScalerContext.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/SkScalerContext.h b/src/core/SkScalerContext.h
index 0362816e02..7fa1ef5fcd 100644
--- a/src/core/SkScalerContext.h
+++ b/src/core/SkScalerContext.h
@@ -298,6 +298,7 @@ protected:
virtual SkUnichar generateGlyphToChar(uint16_t glyphId);
void forceGenerateImageFromPath() { fGenerateImageFromPath = true; }
+ void forceOffGenerateImageFromPath() { fGenerateImageFromPath = false; }
private:
// never null