aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/core/SkCanvas.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h
index d9b3282d3e..acf0ad2a54 100644
--- a/include/core/SkCanvas.h
+++ b/include/core/SkCanvas.h
@@ -707,13 +707,7 @@ public:
@param region The region to be drawn
@param paint The paint used to draw the region
*/
- void drawRegion(const SkRegion& region, const SkPaint& paint) {
- if (region.isEmpty()) {
- return;
- }
-
- this->onDrawRegion(region, paint);
- }
+ void drawRegion(const SkRegion& region, const SkPaint& paint);
/** Draw the specified oval using the specified paint. The oval will be
filled or framed based on the Style in the paint.