Index: src/device/xps/SkXPSDevice.cpp |
diff --git a/src/device/xps/SkXPSDevice.cpp b/src/device/xps/SkXPSDevice.cpp |
index 86b8c7d84927cf4ceec2278dea88280fb634f034..4686066dbf7b7b7c43aec764f98d4ac22d52e1c4 100644 |
--- a/src/device/xps/SkXPSDevice.cpp |
+++ b/src/device/xps/SkXPSDevice.cpp |
@@ -1203,6 +1203,14 @@ void SkXPSDevice::drawRect(const SkDraw& d, |
this->internalDrawRect(d, r, true, paint); |
} |
+void SkXPSDevice::drawRRect(const SkDraw& d, |
+ const SkRRect& rr, |
+ const SkPaint& paint) { |
+ SkPath path; |
+ path.addRRect(rr); |
+ this->drawPath(d, path, paint, NULL, true); |
+} |
+ |
void SkXPSDevice::internalDrawRect(const SkDraw& d, |
const SkRect& r, |
bool transformRect, |