aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/utils/SkPictureUtils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/SkPictureUtils.cpp')
-rw-r--r--src/utils/SkPictureUtils.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/utils/SkPictureUtils.cpp b/src/utils/SkPictureUtils.cpp
index ce51614654..ffd9aa4429 100644
--- a/src/utils/SkPictureUtils.cpp
+++ b/src/utils/SkPictureUtils.cpp
@@ -46,6 +46,7 @@ static void nothing_to_do() {}
* This device will route all bitmaps (primitives and in shaders) to its PRSet.
* It should never actually draw anything, so there need not be any pixels
* behind its device-bitmap.
+ * FIXME: Derive from SkBaseDevice.
*/
class GatherPixelRefDevice : public SkBitmapDevice {
private:
@@ -93,6 +94,10 @@ public:
const SkPaint& paint) SK_OVERRIDE {
this->addBitmapFromPaint(paint);
}
+ virtual void drawRRect(const SkDraw&, const SkRRect&,
+ const SkPaint& paint) SK_OVERRIDE {
+ this->addBitmapFromPaint(paint);
+ }
virtual void drawOval(const SkDraw&, const SkRect&,
const SkPaint& paint) SK_OVERRIDE {
this->addBitmapFromPaint(paint);