diff options
author | bungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-08-02 10:06:19 +0000 |
---|---|---|
committer | bungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-08-02 10:06:19 +0000 |
commit | 2bf82d843d8896dd10bb86adc1e974c6d52324e6 (patch) | |
tree | 81b94b8e58c9c9d872264fcbabe2d6d5a2787214 /src/core | |
parent | ba7bae4759f03eedffd4e71c031c5a17e44315d4 (diff) |
Set fReservedAlign to 0.
Cleans scalar context key and should fix http://code.google.com/p/chromium/issues/detail?id=140196
git-svn-id: http://skia.googlecode.com/svn/trunk@4904 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/SkPaint.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/SkPaint.cpp b/src/core/SkPaint.cpp index 94a4d22d7d..134aa56bde 100644 --- a/src/core/SkPaint.cpp +++ b/src/core/SkPaint.cpp @@ -1596,6 +1596,7 @@ void SkScalerContext::MakeRec(const SkPaint& paint, rec->setPaintGamma(SkFloatToScalar(SK_GAMMA_EXPONENT)); #endif rec->setContrast(SkFloatToScalar(SK_GAMMA_CONTRAST)); + rec->fReservedAlign = 0; /* Allow the fonthost to modify our rec before we use it as a key into the cache. This way if we're asking for something that they will ignore, |