aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core
diff options
context:
space:
mode:
authorGravatar bungeman <bungeman@google.com>2016-05-10 14:32:07 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-05-10 14:32:07 -0700
commitf077324e1317fe2825c8a7969bf159b4efed2ba5 (patch)
tree1fc961c194f7e8556dae046d7dd305cc6908e5b6 /src/core
parentfd0b33dee682ac7def48c414533561dff4336d2b (diff)
Remove SkFontHost.h.
What is left of this file is now in SkFontLCDConfig.h. Review-Url: https://codereview.chromium.org/1945883002
Diffstat (limited to 'src/core')
-rw-r--r--src/core/SkFontLCDConfig.cpp (renamed from src/core/SkFontHost.cpp)21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/core/SkFontHost.cpp b/src/core/SkFontLCDConfig.cpp
index 4f0dc8637d..3d1f35b58c 100644
--- a/src/core/SkFontHost.cpp
+++ b/src/core/SkFontLCDConfig.cpp
@@ -25,24 +25,3 @@ SkFontLCDConfig::LCDOrder SkFontLCDConfig::GetSubpixelOrder() {
void SkFontLCDConfig::SetSubpixelOrder(LCDOrder order) {
gLCDOrder = order;
}
-
-///////////////////////////////////////////////////////////////////////////////
-// Legacy wrappers : remove from SkFontHost when webkit switches to new API
-
-#include "SkFontHost.h"
-
-SkFontHost::LCDOrientation SkFontHost::GetSubpixelOrientation() {
- return (SkFontHost::LCDOrientation)SkFontLCDConfig::GetSubpixelOrientation();
-}
-
-void SkFontHost::SetSubpixelOrientation(LCDOrientation orientation) {
- SkFontLCDConfig::SetSubpixelOrientation((SkFontLCDConfig::LCDOrientation)orientation);
-}
-
-SkFontHost::LCDOrder SkFontHost::GetSubpixelOrder() {
- return (SkFontHost::LCDOrder)SkFontLCDConfig::GetSubpixelOrder();
-}
-
-void SkFontHost::SetSubpixelOrder(LCDOrder order) {
- SkFontLCDConfig::SetSubpixelOrder((SkFontLCDConfig::LCDOrder)order);
-}