diff options
-rw-r--r-- | include/core/SkPathRef.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/core/SkPathRef.h b/include/core/SkPathRef.h index 97643d6eab..500fb4a34e 100644 --- a/include/core/SkPathRef.h +++ b/include/core/SkPathRef.h @@ -112,6 +112,7 @@ public: static SkPathRef* gEmptyPathRef; if (!gEmptyPathRef) { gEmptyPathRef = SkNEW(SkPathRef); // leak! + gEmptyPathRef->computeBounds(); // Premptively avoid a race to clear fBoundsIsDirty. } return SkRef(gEmptyPathRef); } |