Revert incorrect change to GrCoverageSetOp test factory
Change-Id: I7d2c9f4e5c2cded2eb06b9a18b73700726103f15 Reviewed-on: https://skia-review.googlesource.com/11292 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
This commit is contained in:
parent
72e551e637
commit
0721fe96ae
@ -228,6 +228,6 @@ GR_DEFINE_XP_FACTORY_TEST(GrCoverageSetOpXPFactory);
|
||||
const GrXPFactory* GrCoverageSetOpXPFactory::TestGet(GrProcessorTestData* d) {
|
||||
SkRegion::Op regionOp = SkRegion::Op(d->fRandom->nextULessThan(SkRegion::kLastOp + 1));
|
||||
bool invertCoverage = !d->fRenderTargetContext->hasMixedSamples() && d->fRandom->nextBool();
|
||||
return new GrCoverageSetOpXPFactory(regionOp, invertCoverage);
|
||||
return GrCoverageSetOpXPFactory::Get(regionOp, invertCoverage);
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user