Index: include/core/SkMultiPictureDraw.h |
diff --git a/include/core/SkMultiPictureDraw.h b/include/core/SkMultiPictureDraw.h |
index 461d38136b3e6b7055dbc3f54a89321bfb1c8ce8..ce788962ffe4747f2c21f521b9c383958d02a899 100644 |
--- a/include/core/SkMultiPictureDraw.h |
+++ b/include/core/SkMultiPictureDraw.h |
@@ -40,7 +40,7 @@ public: |
*/ |
void add(SkCanvas* canvas, |
const SkPicture* picture, |
- const SkMatrix* matrix = NULL, |
+ const SkMatrix* matrix = NULL, |
const SkPaint* paint = NULL); |
/** |
@@ -66,9 +66,7 @@ private: |
static void Reset(SkTDArray<DrawData>&); |
- static void Run(void* ctx) { |
- static_cast<DrawData*>(ctx)->draw(); |
- } |
+ static void Draw(DrawData* d) { d->draw(); } |
}; |
SkTDArray<DrawData> fThreadSafeDrawData; |