We allow this to be raced on, and it may have already become not-dirty by the
time we get to this function if computed by another thread.
BUG=skia:
Review URL: https://codereview.chromium.org/
398913002
// called, if dirty, by getBounds()
void computeBounds() const {
SkDEBUGCODE(this->validate();)
- SkASSERT(fBoundsIsDirty);
+ // TODO(mtklein): remove fBoundsIsDirty and fIsFinite,
+ // using an inverted rect instead of fBoundsIsDirty and always recalculating fIsFinite.
+ //SkASSERT(fBoundsIsDirty);
fIsFinite = ComputePtBounds(fBounds.get(), *this);
fBoundsIsDirty = false;