Commit cca1bac5 authored by bungeman's avatar bungeman Committed by Commit bot

Remove SK_DECLARE_LEGACY_CREATE_FROM_FONTDATA.

Skia is changing some of its API and one test
subclass needs to be updated to reflect this.

Review-Url: https://codereview.chromium.org/2339353004
Cr-Commit-Position: refs/heads/master@{#419269}
parent 26f4022d
......@@ -56,11 +56,6 @@ class TestSkTypeface : public SkTypeface {
return nullptr;
}
SkFontData* onCreateFontData() const override {
ADD_FAILURE();
return nullptr;
}
void onGetFontDescriptor(SkFontDescriptor*, bool* isLocal) const override {
ADD_FAILURE();
}
......@@ -190,11 +185,6 @@ class TestSkFontMgr : public SkFontMgr {
return nullptr;
}
SkTypeface* onCreateFromFontData(SkFontData*) const override {
ADD_FAILURE();
return nullptr;
}
SkTypeface* onCreateFromFile(const char path[], int ttcIndex) const override {
ADD_FAILURE();
return nullptr;
......
......@@ -48,10 +48,7 @@ config("skia_config") {
"//third_party/skia/include/utils",
]
defines = [
"SK_IGNORE_DW_GRAY_FIX",
"SK_DECLARE_LEGACY_CREATE_FROM_FONTDATA",
]
defines = [ "SK_IGNORE_DW_GRAY_FIX" ]
defines += skia_for_chromium_defines
defines += []
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment