forgot explicit return statements
git-svn-id: http://skia.googlecode.com/svn/trunk@2465 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
86c1f71625
commit
56074222ee
@ -132,12 +132,12 @@ bool SkRasterClip::op(const SkRect& r, SkRegion::Op op, bool doAA) {
|
|||||||
if (fIsBW && !doAA) {
|
if (fIsBW && !doAA) {
|
||||||
SkIRect ir;
|
SkIRect ir;
|
||||||
r.round(&ir);
|
r.round(&ir);
|
||||||
fBW.op(ir, op);
|
return fBW.op(ir, op);
|
||||||
} else {
|
} else {
|
||||||
if (fIsBW) {
|
if (fIsBW) {
|
||||||
this->convertToAA();
|
this->convertToAA();
|
||||||
}
|
}
|
||||||
fAA.op(r, op, doAA);
|
return fAA.op(r, op, doAA);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user