diff options
author | 2016-05-10 14:32:07 -0700 | |
---|---|---|
committer | 2016-05-10 14:32:07 -0700 | |
commit | f077324e1317fe2825c8a7969bf159b4efed2ba5 (patch) | |
tree | 1fc961c194f7e8556dae046d7dd305cc6908e5b6 /src/core | |
parent | fd0b33dee682ac7def48c414533561dff4336d2b (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); -} |