| Index: src/gpu/batches/GrClearBatch.h
|
| diff --git a/src/gpu/batches/GrClearBatch.h b/src/gpu/batches/GrClearBatch.h
|
| index b973dab5579e5c5c096044b4416f1e66afe95f61..f13b073d754b1762781e7b7b91f4314fa9711af5 100644
|
| --- a/src/gpu/batches/GrClearBatch.h
|
| +++ b/src/gpu/batches/GrClearBatch.h
|
| @@ -15,13 +15,11 @@
|
|
|
| class GrClearBatch final : public GrBatch {
|
| public:
|
| - DEFINE_BATCH_CLASS_ID
|
| -
|
| GrClearBatch(const SkIRect& rect, GrColor color, GrRenderTarget* rt)
|
| - : INHERITED(ClassID())
|
| - , fRect(rect)
|
| + : fRect(rect)
|
| , fColor(color)
|
| , fRenderTarget(rt) {
|
| + this->initClassID<GrClearBatch>();
|
| fBounds = SkRect::Make(rect);
|
| }
|
|
|
| @@ -52,19 +50,15 @@
|
| SkIRect fRect;
|
| GrColor fColor;
|
| GrPendingIOResource<GrRenderTarget, kWrite_GrIOType> fRenderTarget;
|
| -
|
| - typedef GrBatch INHERITED;
|
| };
|
|
|
| class GrClearStencilClipBatch final : public GrBatch {
|
| public:
|
| - DEFINE_BATCH_CLASS_ID
|
| -
|
| GrClearStencilClipBatch(const SkIRect& rect, bool insideClip, GrRenderTarget* rt)
|
| - : INHERITED(ClassID())
|
| - , fRect(rect)
|
| + : fRect(rect)
|
| , fInsideClip(insideClip)
|
| , fRenderTarget(rt) {
|
| + this->initClassID<GrClearStencilClipBatch>();
|
| fBounds = SkRect::Make(rect);
|
| }
|
|
|
| @@ -92,8 +86,6 @@
|
| SkIRect fRect;
|
| bool fInsideClip;
|
| GrPendingIOResource<GrRenderTarget, kWrite_GrIOType> fRenderTarget;
|
| -
|
| - typedef GrBatch INHERITED;
|
| };
|
|
|
| #endif
|
|
|