diff options
author | reed <reed@google.com> | 2015-05-05 11:36:02 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-05-05 11:36:02 -0700 |
commit | d1290843c364dda7691817f3bb52aadee8391acf (patch) | |
tree | aefa6a3008831ad99c0c141dcc87db7d95624fdc /tests/DrawBitmapRectTest.cpp | |
parent | 002653e78c1eef4430abe457f6f91add24a69093 (diff) |
remove dead code behind BOOL_ONGETINFO
need this to land in chrome first https://codereview.chromium.org/1125573002
BUG=skia:
TBR=
Review URL: https://codereview.chromium.org/1123473004
Diffstat (limited to 'tests/DrawBitmapRectTest.cpp')
-rw-r--r-- | tests/DrawBitmapRectTest.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/DrawBitmapRectTest.cpp b/tests/DrawBitmapRectTest.cpp index 060e08b3a7..9c522db28e 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. }; |