Index: tests/GrPorterDuffTest.cpp |
diff --git a/tests/GrPorterDuffTest.cpp b/tests/GrPorterDuffTest.cpp |
index a61ab5484ba401a6027bbc6aa3089d26ffed9527..1328272a6a5e87fb749b5315fd0ec9b66bda4698 100644 |
--- a/tests/GrPorterDuffTest.cpp |
+++ b/tests/GrPorterDuffTest.cpp |
@@ -1093,13 +1093,7 @@ |
} |
static void test_lcd_coverage_fallback_case(skiatest::Reporter* reporter, const GrCaps& caps) { |
- class TestLCDCoverageBatch: public GrVertexBatch { |
- public: |
- DEFINE_BATCH_CLASS_ID |
- |
- TestLCDCoverageBatch() : INHERITED(ClassID()) {} |
- |
- private: |
+ class : public GrVertexBatch { |
void getInvariantOutputColor(GrInitInvariantOutput* out) const override { |
out->setKnownFourComponents(GrColorPackRGBA(123, 45, 67, 221)); |
} |
@@ -1114,7 +1108,6 @@ |
bool onCombineIfPossible(GrBatch*, const GrCaps&) override { return false; } |
void onPrepareDraws(Target*) override {}; |
- typedef GrVertexBatch INHERITED; |
} testLCDCoverageBatch; |
GrProcOptInfo colorPOI, covPOI; |