OSDN Git Service

Merge Webkit at r70949: Added FontOrientation param
authorJohn Reck <jreck@google.com>
Thu, 4 Nov 2010 21:53:10 +0000 (14:53 -0700)
committerJohn Reck <jreck@google.com>
Tue, 9 Nov 2010 19:38:13 +0000 (11:38 -0800)
FontOrientation was added as a parameter to the fontPlatformData function
http://trac.webkit.org/changeset/70250

Change-Id: I918401828c6b1cd9901c0aa50f6a6ffffac01a8c

WebCore/platform/graphics/android/FontCustomPlatformData.cpp
WebCore/platform/graphics/android/FontCustomPlatformData.h

index 90a9f41..e17e532 100644 (file)
@@ -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) {
index b41417c..3514ae7 100644 (file)
@@ -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: