diff options
author | robertphillips <robertphillips@google.com> | 2015-01-06 12:26:08 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-01-06 12:26:08 -0800 |
commit | 7ef197255deb4e2fa64c03c7130d56ddf164e83c (patch) | |
tree | a6a936f30912c91e182560cfe6babd9b8feb92f5 /tests/RecordDrawTest.cpp | |
parent | b5d818ab04860a9b558ae0d6edef6386c4a09061 (diff) |
Rename SkDrawPictureCallback to SkPicture::AbortCallback
Review URL: https://codereview.chromium.org/829983003
Diffstat (limited to 'tests/RecordDrawTest.cpp')
-rw-r--r-- | tests/RecordDrawTest.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/RecordDrawTest.cpp b/tests/RecordDrawTest.cpp index ec3680c3a9..5f0195d0c2 100644 --- a/tests/RecordDrawTest.cpp +++ b/tests/RecordDrawTest.cpp @@ -9,7 +9,6 @@ #include "RecordTestUtils.h" #include "SkDebugCanvas.h" -#include "SkDrawPictureCallback.h" #include "SkDropShadowImageFilter.h" #include "SkImagePriv.h" #include "SkRecord.h" @@ -21,11 +20,11 @@ static const int W = 1920, H = 1080; -class JustOneDraw : public SkDrawPictureCallback { +class JustOneDraw : public SkPicture::AbortCallback { public: JustOneDraw() : fCalls(0) {} - virtual bool abortDrawing() SK_OVERRIDE { return fCalls++ > 0; } + virtual bool abort() SK_OVERRIDE { return fCalls++ > 0; } private: int fCalls; }; |