Index: src/core/SkMaskCache.cpp |
diff --git a/src/core/SkMaskCache.cpp b/src/core/SkMaskCache.cpp |
index a360fc56d710c353c4c973813f61af5b3c32712d..02d355d4f18a0a45df837d2b5cfebc58a8d50156 100644 |
--- a/src/core/SkMaskCache.cpp |
+++ b/src/core/SkMaskCache.cpp |
@@ -147,7 +147,7 @@ struct RectsBlurRec : public SkResourceCache::Rec { |
static bool Visitor(const SkResourceCache::Rec& baseRec, void* contextData) { |
const RectsBlurRec& rec = static_cast<const RectsBlurRec&>(baseRec); |
- MaskValue* result = (MaskValue*)contextData; |
+ MaskValue* result = static_cast<MaskValue*>(contextData); |
SkCachedData* tmpData = rec.fValue.fData; |
tmpData->ref(); |