[SVG -> OTF Converter] Crashes when SVG font is invalid
[WebKit-https.git] / Source / WebCore / loader / cache / CachedFont.h
index c2c606685d8999c2f008e6577d71cd8a1e8d7a49..5b6f4184e082899a8060a1cb5f61508cedcb86e7 100644 (file)
@@ -57,7 +57,7 @@ public:
 protected:
     FontPlatformData platformDataFromCustomData(float size, bool bold, bool italic, FontOrientation = Horizontal, FontWidthVariant = RegularWidth, FontRenderingMode = NormalRenderingMode);
 
-    bool ensureCustomFontData(RefPtr<SharedBuffer>&& data);
+    bool ensureCustomFontData(SharedBuffer* data);
 
 private:
     virtual void checkNotify() override;