diff options
Diffstat (limited to 'Source/WebCore/platform/graphics/FontSelector.h')
-rw-r--r-- | Source/WebCore/platform/graphics/FontSelector.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/WebCore/platform/graphics/FontSelector.h b/Source/WebCore/platform/graphics/FontSelector.h index 2c7d1494e..aaaaae2d4 100644 --- a/Source/WebCore/platform/graphics/FontSelector.h +++ b/Source/WebCore/platform/graphics/FontSelector.h @@ -27,6 +27,7 @@ #define FontSelector_h #include <wtf/Forward.h> +#include <wtf/PassRefPtr.h> #include <wtf/RefCounted.h> namespace WebCore { @@ -38,7 +39,7 @@ class FontSelectorClient; class FontSelector : public RefCounted<FontSelector> { public: virtual ~FontSelector() { } - virtual FontData* getFontData(const FontDescription&, const AtomicString& familyName) = 0; + virtual PassRefPtr<FontData> getFontData(const FontDescription&, const AtomicString& familyName) = 0; virtual void fontCacheInvalidated() { } |