fix warnings (failed to return a bool)
git-svn-id: http://skia.googlecode.com/svn/trunk@2455 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/core/SkAAClip.cpp b/src/core/SkAAClip.cpp
index 0dbdd0f..2955b61 100644
--- a/src/core/SkAAClip.cpp
+++ b/src/core/SkAAClip.cpp
@@ -234,6 +234,7 @@
clip.op(iter.rect(), SkRegion::kUnion_Op);
}
this->swap(clip);
+ return !this->isEmpty();
}
///////////////////////////////////////////////////////////////////////////////
@@ -530,7 +531,7 @@
{ 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 @@
fBounds = ibounds;
fRunHead = builder.finish();
- builder.dump();
+ //builder.dump();
+ return !this->isEmpty();
}
///////////////////////////////////////////////////////////////////////////////