aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/DeferredCanvasTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/DeferredCanvasTest.cpp')
-rw-r--r--tests/DeferredCanvasTest.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/tests/DeferredCanvasTest.cpp b/tests/DeferredCanvasTest.cpp
index e83bc8106b..56b1bea93f 100644
--- a/tests/DeferredCanvasTest.cpp
+++ b/tests/DeferredCanvasTest.cpp
@@ -56,19 +56,19 @@ public:
fBitmap.allocN32Pixels(width, height);
}
- SkCanvas* onNewCanvas() SK_OVERRIDE {
+ SkCanvas* onNewCanvas() override {
return SkNEW_ARGS(SkCanvas, (fBitmap));
}
- SkSurface* onNewSurface(const SkImageInfo&) SK_OVERRIDE {
+ SkSurface* onNewSurface(const SkImageInfo&) override {
return NULL;
}
- SkImage* onNewImageSnapshot(Budgeted) SK_OVERRIDE {
+ SkImage* onNewImageSnapshot(Budgeted) override {
return SkNewImageFromBitmap(fBitmap, true, &this->props());
}
- void onCopyOnWrite(ContentChangeMode mode) SK_OVERRIDE {
+ void onCopyOnWrite(ContentChangeMode mode) override {
if (mode == SkSurface::kDiscard_ContentChangeMode) {
fCOWDiscardCount++;
} else {
@@ -76,7 +76,7 @@ public:
}
}
- void onDiscard() SK_OVERRIDE {
+ void onDiscard() override {
fDiscardCount++;
}
@@ -446,7 +446,7 @@ public:
fDrawBitmapCallCount = 0;
}
virtual void drawBitmap(const SkDraw&, const SkBitmap&,
- const SkMatrix&, const SkPaint&) SK_OVERRIDE {
+ const SkMatrix&, const SkPaint&) override {
fDrawBitmapCallCount++;
}
@@ -460,16 +460,16 @@ public:
fFlushedDrawCommandsCount = fSkippedPendingDrawCommandsCount = 0;
}
- void prepareForDraw() SK_OVERRIDE {
+ void prepareForDraw() override {
fPrepareForDrawCount++;
}
- void storageAllocatedForRecordingChanged(size_t) SK_OVERRIDE {
+ void storageAllocatedForRecordingChanged(size_t) override {
fStorageAllocatedChangedCount++;
}
- void flushedDrawCommands() SK_OVERRIDE {
+ void flushedDrawCommands() override {
fFlushedDrawCommandsCount++;
}
- void skippedPendingDrawCommands() SK_OVERRIDE {
+ void skippedPendingDrawCommands() override {
fSkippedPendingDrawCommandsCount++;
}