Index: src/fonts/SkTestScalerContext.cpp |
diff --git a/src/fonts/SkTestScalerContext.cpp b/src/fonts/SkTestScalerContext.cpp |
index 368f26983cc4f7454de739af00313c6e19e1de94..7afe6521a3ab3220779591f64d4756d1280feb78 100644 |
--- a/src/fonts/SkTestScalerContext.cpp |
+++ b/src/fonts/SkTestScalerContext.cpp |
@@ -108,6 +108,8 @@ void SkTestFont::init(const SkScalar* pts, const unsigned char* verbs) { |
return; |
} |
} |
+ // This should make SkPath::getBounds() queries threadsafe. |
+ path->updateBoundsCache(); |
fPaths[index] = path; |
} |
} |