diff options
author | reed <reed@google.com> | 2016-04-11 07:51:07 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-04-11 07:51:07 -0700 |
commit | c79172857c3f69cc46837e1beeae0c1ead377bb2 (patch) | |
tree | 4e6eebf5b3b09e91c58287875d24f75d62850818 /tests/FontMgrTest.cpp | |
parent | 6dc14aab5ea6be87b5b10f17a19737f586708768 (diff) |
Pass effects directly to fontcache
BUG=skia:5176
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1863013003
Review URL: https://codereview.chromium.org/1863013003
Diffstat (limited to 'tests/FontMgrTest.cpp')
-rw-r--r-- | tests/FontMgrTest.cpp | 3 |
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 { } |