Index: tests/DrawBitmapRectTest.cpp |
diff --git a/tests/DrawBitmapRectTest.cpp b/tests/DrawBitmapRectTest.cpp |
index 060e08b3a75288d83211699721738a1d846704e5..9c522db28e80f22cd708c4b65d4cccdda18b497b 100644 |
--- a/tests/DrawBitmapRectTest.cpp |
+++ b/tests/DrawBitmapRectTest.cpp |
@@ -22,12 +22,6 @@ class FailureImageGenerator : public SkImageGenerator { |
public: |
FailureImageGenerator() : SkImageGenerator(SkImageInfo::MakeN32Premul(100, 100)) {} |
protected: |
-#ifdef SK_SUPPORT_LEGACY_BOOL_ONGETINFO |
- bool onGetInfo(SkImageInfo* info) override { |
- *info = SkImageInfo::MakeN32Premul(100, 100); |
- return true; |
- } |
-#endif |
// default onGetPixels() returns kUnimplemented, which is what we want. |
}; |