fix warnings (failed to return a bool)

git-svn-id: http://skia.googlecode.com/svn/trunk@2455 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
reed@google.com 2011-10-11 17:18:04 +00:00
parent ba16da97e8
commit 3771a030b0

View File

@ -234,6 +234,7 @@ bool SkAAClip::setRegion(const SkRegion& rgn) {
clip.op(iter.rect(), SkRegion::kUnion_Op);
}
this->swap(clip);
return !this->isEmpty();
}
///////////////////////////////////////////////////////////////////////////////
@ -530,7 +531,7 @@ public:
{ unexpected(); }
virtual const SkBitmap* justAnOpaqueColor(uint32_t*) SK_OVERRIDE {
return false;
return NULL;
}
virtual void blitH(int x, int y, int width) SK_OVERRIDE {
@ -593,7 +594,8 @@ bool SkAAClip::setPath(const SkPath& path, const SkRegion* clip, bool doAA) {
fBounds = ibounds;
fRunHead = builder.finish();
builder.dump();
//builder.dump();
return !this->isEmpty();
}
///////////////////////////////////////////////////////////////////////////////