| Index: Source/core/css/CSSFontFaceLoadEvent.h
|
| diff --git a/Source/core/css/CSSFontFaceLoadEvent.h b/Source/core/css/CSSFontFaceLoadEvent.h
|
| index 3f14434f404055e55e8913dfa3309713d2ddc518..41ad45783416724686fbed59f7dc3e540f2e313a 100644
|
| --- a/Source/core/css/CSSFontFaceLoadEvent.h
|
| +++ b/Source/core/css/CSSFontFaceLoadEvent.h
|
| @@ -45,19 +45,19 @@ struct CSSFontFaceLoadEventInit : public EventInit {
|
|
|
| class CSSFontFaceLoadEvent FINAL : public Event {
|
| public:
|
| - static PassRefPtr<CSSFontFaceLoadEvent> create()
|
| + static PassRefPtrWillBeRawPtr<CSSFontFaceLoadEvent> create()
|
| {
|
| - return adoptRef<CSSFontFaceLoadEvent>(new CSSFontFaceLoadEvent());
|
| + return adoptRefWillBeRefCountedGarbageCollected(new CSSFontFaceLoadEvent());
|
| }
|
|
|
| - static PassRefPtr<CSSFontFaceLoadEvent> create(const AtomicString& type, const CSSFontFaceLoadEventInit& initializer)
|
| + static PassRefPtrWillBeRawPtr<CSSFontFaceLoadEvent> create(const AtomicString& type, const CSSFontFaceLoadEventInit& initializer)
|
| {
|
| - return adoptRef<CSSFontFaceLoadEvent>(new CSSFontFaceLoadEvent(type, initializer));
|
| + return adoptRefWillBeRefCountedGarbageCollected(new CSSFontFaceLoadEvent(type, initializer));
|
| }
|
|
|
| static PassRefPtr<CSSFontFaceLoadEvent> createForFontFaces(const AtomicString& type, const FontFaceArray& fontfaces = FontFaceArray())
|
| {
|
| - return adoptRef<CSSFontFaceLoadEvent>(new CSSFontFaceLoadEvent(type, fontfaces));
|
| + return adoptRefWillBeRefCountedGarbageCollected(new CSSFontFaceLoadEvent(type, fontfaces));
|
| }
|
|
|
| virtual ~CSSFontFaceLoadEvent();
|
|
|