Index: src/utils/SkPictureUtils.cpp |
diff --git a/src/utils/SkPictureUtils.cpp b/src/utils/SkPictureUtils.cpp |
index ce516146544f6260305df71346204de6593cc0bf..ffd9aa4429d24c307693b2b07fe465de8e78f5fb 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); |