diff options
Diffstat (limited to 'src/gpu/GrDrawOpTest.h')
-rw-r--r-- | src/gpu/GrDrawOpTest.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gpu/GrDrawOpTest.h b/src/gpu/GrDrawOpTest.h index 8c98597c3f..43bd21a59e 100644 --- a/src/gpu/GrDrawOpTest.h +++ b/src/gpu/GrDrawOpTest.h @@ -13,20 +13,20 @@ #if GR_TEST_UTILS -class GrDrawOp; class GrContext; +class GrMeshDrawOp; class SkRandom; /** This function returns a randomly configured GrDrawOp for testing purposes. */ -std::unique_ptr<GrDrawOp> GrRandomDrawOp(SkRandom*, GrContext*); +std::unique_ptr<GrMeshDrawOp> GrRandomDrawOp(SkRandom*, GrContext*); /** GrDrawOp subclasses should define test factory functions using this macro. */ #define DRAW_OP_TEST_DEFINE(Op) \ - std::unique_ptr<GrDrawOp> Op##__Test(SkRandom* random, GrContext* context) + std::unique_ptr<GrMeshDrawOp> Op##__Test(SkRandom* random, GrContext* context) /** This macro may be used if the test factory function must be made a friend of a class. */ #define DRAW_OP_TEST_FRIEND(Op) \ - friend std::unique_ptr<GrDrawOp> Op##__Test(SkRandom* random, GrContext* context); + friend std::unique_ptr<GrMeshDrawOp> Op##__Test(SkRandom* random, GrContext* context); #endif #endif |