From 64652022e8f43ecfabaebc5cd148f1c3058e667c Mon Sep 17 00:00:00 2001 From: John Reck Date: Wed, 12 Oct 2011 14:08:26 -0700 Subject: Revert "Support "Vertical Writing Mode"." This reverts commit 5403113c5aa5d55a05ea001f562829e907632178 --- Source/WebCore/platform/graphics/android/FontCustomPlatformData.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Source/WebCore/platform/graphics/android/FontCustomPlatformData.cpp') diff --git a/Source/WebCore/platform/graphics/android/FontCustomPlatformData.cpp b/Source/WebCore/platform/graphics/android/FontCustomPlatformData.cpp index 4279ce8..72fac68 100644 --- a/Source/WebCore/platform/graphics/android/FontCustomPlatformData.cpp +++ b/Source/WebCore/platform/graphics/android/FontCustomPlatformData.cpp @@ -45,8 +45,7 @@ FontCustomPlatformData::~FontCustomPlatformData() // the unref is enough to release the font data... } -FontPlatformData FontCustomPlatformData::fontPlatformData(int size, bool bold, bool italic, - FontOrientation fontOrientation, TextOrientation textOrientation, FontWidthVariant, FontRenderingMode) +FontPlatformData FontCustomPlatformData::fontPlatformData(int size, bool bold, bool italic, FontOrientation, TextOrientation, FontWidthVariant, FontRenderingMode) { // turn bold/italic into fakeBold/fakeItalic if (m_typeface != NULL) { @@ -55,7 +54,7 @@ FontPlatformData FontCustomPlatformData::fontPlatformData(int size, bool bold, b if (m_typeface->isItalic() == italic) italic = false; } - return FontPlatformData(m_typeface, size, bold, italic, fontOrientation, textOrientation); + return FontPlatformData(m_typeface, size, bold, italic); } FontCustomPlatformData* createFontCustomPlatformData(SharedBuffer* buffer) -- cgit v1.1