aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/FontMgrTest.cpp
diff options
context:
space:
mode:
authorGravatar reed <reed@google.com>2016-04-11 07:51:07 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-04-11 07:51:07 -0700
commitc79172857c3f69cc46837e1beeae0c1ead377bb2 (patch)
tree4e6eebf5b3b09e91c58287875d24f75d62850818 /tests/FontMgrTest.cpp
parent6dc14aab5ea6be87b5b10f17a19737f586708768 (diff)
Pass effects directly to fontcache
Diffstat (limited to 'tests/FontMgrTest.cpp')
-rw-r--r--tests/FontMgrTest.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/FontMgrTest.cpp b/tests/FontMgrTest.cpp
index b663b45e1f..96af746ace 100644
--- a/tests/FontMgrTest.cpp
+++ b/tests/FontMgrTest.cpp
@@ -125,7 +125,8 @@ static void test_matchStyleCSS3(skiatest::Reporter* reporter) {
TestTypeface(const SkFontStyle& fontStyle, SkFontID id) : SkTypeface(fontStyle, id, false){}
protected:
SkStreamAsset* onOpenStream(int* ttcIndex) const override { return nullptr; }
- SkScalerContext* onCreateScalerContext(const SkDescriptor*) const override {
+ SkScalerContext* onCreateScalerContext(const SkScalerContextEffects&,
+ const SkDescriptor*) const override {
return nullptr;
}
void onFilterRec(SkScalerContextRec*) const override { }