diff options
author | Steve Block <steveblock@google.com> | 2011-05-25 19:08:45 +0100 |
---|---|---|
committer | Steve Block <steveblock@google.com> | 2011-06-08 13:51:31 +0100 |
commit | 2bde8e466a4451c7319e3a072d118917957d6554 (patch) | |
tree | 28f4a1b869a513e565c7760d0e6a06e7cf1fe95a /Source/WebCore/platform/graphics/wx | |
parent | 6939c99b71d9372d14a0c74a772108052e8c48c8 (diff) | |
download | external_webkit-2bde8e466a4451c7319e3a072d118917957d6554.zip external_webkit-2bde8e466a4451c7319e3a072d118917957d6554.tar.gz external_webkit-2bde8e466a4451c7319e3a072d118917957d6554.tar.bz2 |
Merge WebKit at r82507: Initial merge by git
Change-Id: I60ce9d780725b58b45e54165733a8ffee23b683e
Diffstat (limited to 'Source/WebCore/platform/graphics/wx')
-rw-r--r-- | Source/WebCore/platform/graphics/wx/FontPlatformData.h | 1 | ||||
-rw-r--r-- | Source/WebCore/platform/graphics/wx/FontPlatformDataWx.cpp | 4 | ||||
-rw-r--r-- | Source/WebCore/platform/graphics/wx/PathWx.cpp | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/Source/WebCore/platform/graphics/wx/FontPlatformData.h b/Source/WebCore/platform/graphics/wx/FontPlatformData.h index 3ef0179..8a2c4a0 100644 --- a/Source/WebCore/platform/graphics/wx/FontPlatformData.h +++ b/Source/WebCore/platform/graphics/wx/FontPlatformData.h @@ -150,6 +150,7 @@ public: bool allowsLigatures() const { return false; } FontOrientation orientation() const { return Horizontal; } // FIXME: Implement. + void setOrientation(FontOrientation) { } // FIXME: Implement. // We don't support this yet, so just return the default value for now. FontWidthVariant widthVariant() const { return RegularWidth; } diff --git a/Source/WebCore/platform/graphics/wx/FontPlatformDataWx.cpp b/Source/WebCore/platform/graphics/wx/FontPlatformDataWx.cpp index c125b7c..830cd05 100644 --- a/Source/WebCore/platform/graphics/wx/FontPlatformDataWx.cpp +++ b/Source/WebCore/platform/graphics/wx/FontPlatformDataWx.cpp @@ -126,10 +126,10 @@ unsigned FontPlatformData::computeHash() const thisFont->GetStyle(), thisFont->GetWeight(), thisFont->GetUnderlined(), - WTF::StringHasher::createHash(thisFont->GetFaceName().utf8_str().data()) + StringHasher::computeHash(thisFont->GetFaceName().utf8_str().data()) }; - return WTF::StringHasher::createBlobHash<sizeof(hashCodes)>(hashCodes); + return StringHasher::hashMemory<sizeof(hashCodes)>(hashCodes); } FontPlatformData::~FontPlatformData() diff --git a/Source/WebCore/platform/graphics/wx/PathWx.cpp b/Source/WebCore/platform/graphics/wx/PathWx.cpp index f5355f2..a95cc1c 100644 --- a/Source/WebCore/platform/graphics/wx/PathWx.cpp +++ b/Source/WebCore/platform/graphics/wx/PathWx.cpp @@ -105,7 +105,7 @@ FloatRect Path::boundingRect() const return FloatRect(); } -FloatRect Path::strokeBoundingRect(StrokeStyleApplier* applier) +FloatRect Path::strokeBoundingRect(StrokeStyleApplier* applier) const { notImplemented(); return FloatRect(); |