diff options
Diffstat (limited to 'src/ports/SkFontConfigInterface_direct_google3.h')
-rw-r--r-- | src/ports/SkFontConfigInterface_direct_google3.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/ports/SkFontConfigInterface_direct_google3.h b/src/ports/SkFontConfigInterface_direct_google3.h deleted file mode 100644 index fd5c5e2fed..0000000000 --- a/src/ports/SkFontConfigInterface_direct_google3.h +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Copyright 2009-2015 Google Inc. - * - * Use of this source code is governed by a BSD-style license that can be - * found in the LICENSE file. - */ - -/* migrated from chrome/src/skia/ext/SkFontHost_fontconfig_direct.cpp */ - -#include "SkFontConfigInterface_direct.h" -#include "SkStream.h" -#include "SkTypes.h" - -// Loads fonts using GoogleFt2ReadFontFromMemory. -class SkFontConfigInterfaceDirectGoogle3 : public SkFontConfigInterfaceDirect { -public: - SkFontConfigInterfaceDirectGoogle3() {} - ~SkFontConfigInterfaceDirectGoogle3() override {} - - SkStreamAsset* openStream(const FontIdentity&) override; -protected: - // Override isAccessible to return true if the font is in the cache. - bool isAccessible(const char* filename) override; -private: - typedef SkFontConfigInterfaceDirect INHERITED; -}; |