Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(830)

Unified Diff: tests/RecordReplaceDrawTest.cpp

Issue 837693002: Rename SkDrawPictureCallback to SkAbortCallback (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: update to ToT Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/RecordDrawTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/RecordReplaceDrawTest.cpp
diff --git a/tests/RecordReplaceDrawTest.cpp b/tests/RecordReplaceDrawTest.cpp
index b9c2f44e0f6111a3320b9a34d3a79b25bc30c1e3..e2f59b29266835fec3dfbc0b405d3aa0f619dbc8 100644
--- a/tests/RecordReplaceDrawTest.cpp
+++ b/tests/RecordReplaceDrawTest.cpp
@@ -13,6 +13,7 @@
#include "GrLayerCache.h"
#include "GrRecordReplaceDraw.h"
#include "RecordTestUtils.h"
+#include "SkAbortCallback.h"
#include "SkBBHFactory.h"
#include "SkPictureRecorder.h"
#include "SkRecordDraw.h"
@@ -22,11 +23,11 @@
static const int kWidth = 100;
static const int kHeight = 100;
-class JustOneDraw : public SkDrawPictureCallback {
+class JustOneDraw : public SkAbortCallback {
public:
JustOneDraw() : fCalls(0) {}
- virtual bool abortDrawing() SK_OVERRIDE { return fCalls++ > 0; }
+ virtual bool abort() SK_OVERRIDE { return fCalls++ > 0; }
private:
int fCalls;
};
« no previous file with comments | « tests/RecordDrawTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698