summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--webkit/port/platform/graphics/FontCacheWin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/port/platform/graphics/FontCacheWin.cpp b/webkit/port/platform/graphics/FontCacheWin.cpp
index e4b2c65..afb7b93 100644
--- a/webkit/port/platform/graphics/FontCacheWin.cpp
+++ b/webkit/port/platform/graphics/FontCacheWin.cpp
@@ -433,7 +433,7 @@ const SimpleFontData* FontCache::getFontDataForCharacters(const Font& font,
AtomicString(family, wcslen(family)));
}
if (i < numFonts) // we found the font that covers this character !
- return new SimpleFontData(*data);
+ return getCachedFontData(data);
// IMLangFontLink can break up a string into regions that can be rendered
// using one particular font.