Index: src/core/SkFontLCDConfig.cpp |
diff --git a/src/core/SkFontHost.cpp b/src/core/SkFontLCDConfig.cpp |
similarity index 50% |
rename from src/core/SkFontHost.cpp |
rename to src/core/SkFontLCDConfig.cpp |
index 4f0dc8637d57d5ce7cf9296a66fef62decfb716a..3d1f35b58c221346c03a44d0504f301f2ad1eb01 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); |
-} |