I don't expect this to make any difference (perf-wise) but it seems more correct.
This CL relies on https://codereview.chromium.org/
1421533007/ (Fix ClipMaskManager's SW-fallback logic)
Review URL: https://codereview.chromium.org/
1419403002
switch (fType) {
case kEmpty_Type:
path->reset();
+ path->setIsVolatile(true);
break;
case kRect_Type:
path->reset();
path->addRect(this->getRect());
+ path->setIsVolatile(true);
break;
case kRRect_Type:
path->reset();
path->addRRect(fRRect);
+ path->setIsVolatile(true);
break;
case kPath_Type:
*path = *fPath.get();
default: {
SkPath path;
element->asPath(&path);
- path.setIsVolatile(true);
if (path.isInverseFillType()) {
path.toggleInverseFillType();
}