Index: src/core/SkBBoxRecord.cpp |
diff --git a/src/core/SkBBoxRecord.cpp b/src/core/SkBBoxRecord.cpp |
index a757a245ce1ce6000fd9abb367fbe77e5f1c4d25..7075cd165129294e166ff867f67ca26b840c8984 100644 |
--- a/src/core/SkBBoxRecord.cpp |
+++ b/src/core/SkBBoxRecord.cpp |
@@ -26,6 +26,13 @@ void SkBBoxRecord::drawRect(const SkRect& rect, const SkPaint& paint) { |
} |
} |
+void SkBBoxRecord::onDrawDRRect(const SkRRect& outer, const SkRRect& inner, |
+ const SkPaint& paint) { |
+ if (this->transformBounds(outer.rect(), &paint)) { |
+ this->INHERITED::onDrawDRRect(outer, inner, paint); |
+ } |
+} |
+ |
void SkBBoxRecord::drawPath(const SkPath& path, const SkPaint& paint) { |
if (path.isInverseFillType()) { |
// If path is inverse filled, use the current clip bounds as the |