summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--WebCore/platform/graphics/android/FontCustomPlatformData.cpp2
-rw-r--r--WebCore/platform/graphics/android/FontCustomPlatformData.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/WebCore/platform/graphics/android/FontCustomPlatformData.cpp b/WebCore/platform/graphics/android/FontCustomPlatformData.cpp
index 90a9f41..e17e532 100644
--- a/WebCore/platform/graphics/android/FontCustomPlatformData.cpp
+++ b/WebCore/platform/graphics/android/FontCustomPlatformData.cpp
@@ -46,7 +46,7 @@ FontCustomPlatformData::~FontCustomPlatformData()
}
FontPlatformData FontCustomPlatformData::fontPlatformData(int size, bool bold, bool italic,
- FontRenderingMode mode)
+ FontOrientation, FontRenderingMode)
{
// turn bold/italic into fakeBold/fakeItalic
if (m_typeface != NULL) {
diff --git a/WebCore/platform/graphics/android/FontCustomPlatformData.h b/WebCore/platform/graphics/android/FontCustomPlatformData.h
index b41417c..3514ae7 100644
--- a/WebCore/platform/graphics/android/FontCustomPlatformData.h
+++ b/WebCore/platform/graphics/android/FontCustomPlatformData.h
@@ -26,6 +26,7 @@
#ifndef FontCustomPlatformData_h
#define FontCustomPlatformData_h
+#include "FontOrientation.h"
#include "FontRenderingMode.h"
#include <wtf/Forward.h>
#include <wtf/Noncopyable.h>
@@ -44,7 +45,7 @@ public:
SkTypeface* typeface() const { return m_typeface; }
- FontPlatformData fontPlatformData(int size, bool bold, bool italic, FontRenderingMode );
+ FontPlatformData fontPlatformData(int size, bool bold, bool italic, FontOrientation, FontRenderingMode);
static bool supportsFormat(const String&);
private: