aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/FlattenableCustomFactory.cpp
diff options
context:
space:
mode:
authorGravatar Mike Reed <reed@google.com>2017-12-11 13:23:33 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-12-11 18:50:00 +0000
commit58a3fcd4b3a2f7210586f4ec74dde8ac2b231e0f (patch)
tree3e1d077d627e19e0ddb8c455a2a9950be5625d0e /tests/FlattenableCustomFactory.cpp
parentcbe99c050e63551f475242b1f69824ee02bb34aa (diff)
add virtual to confirm flattenable type
meant to replace https://skia-review.googlesource.com/c/skia/+/83381 Bug:793639 Change-Id: I972dc80725bf5ce5be24769aafa23269735e089c Reviewed-on: https://skia-review.googlesource.com/83444 Reviewed-by: Florin Malita <fmalita@chromium.org> Reviewed-by: Mike Klein <mtklein@chromium.org> Commit-Queue: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'tests/FlattenableCustomFactory.cpp')
-rw-r--r--tests/FlattenableCustomFactory.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/FlattenableCustomFactory.cpp b/tests/FlattenableCustomFactory.cpp
index e83311b398..3523ae73d1 100644
--- a/tests/FlattenableCustomFactory.cpp
+++ b/tests/FlattenableCustomFactory.cpp
@@ -27,6 +27,7 @@ public:
}
Factory getFactory() const override { return nullptr; }
+ Type getFlattenableType() const override { return SkFlattenable::kSkUnused_Type; }
uint32_t a() const { return fA; }
uint32_t b() const { return fB; }