Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(429)

Unified Diff: include/core/SkMultiPictureDraw.h

Issue 689673003: SkTaskGroup::batch(fn, args, N) (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: pun fn pointers Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « dm/DMQuiltTask.cpp ('k') | src/core/SkMultiPictureDraw.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « dm/DMQuiltTask.cpp ('k') | src/core/SkMultiPictureDraw.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698