| Index: Source/core/html/canvas/WebGLContextEvent.h
|
| diff --git a/Source/core/html/canvas/WebGLContextEvent.h b/Source/core/html/canvas/WebGLContextEvent.h
|
| index 4326054855205e77843a8e35640debf07c899bf5..53e57192918703717a537e196898d41fe228db2a 100644
|
| --- a/Source/core/html/canvas/WebGLContextEvent.h
|
| +++ b/Source/core/html/canvas/WebGLContextEvent.h
|
| @@ -38,17 +38,17 @@ struct WebGLContextEventInit : public EventInit {
|
|
|
| class WebGLContextEvent FINAL : public Event {
|
| public:
|
| - static PassRefPtr<WebGLContextEvent> create()
|
| + static PassRefPtrWillBeRawPtr<WebGLContextEvent> create()
|
| {
|
| - return adoptRef(new WebGLContextEvent);
|
| + return adoptRefCountedWillBeRefCountedGarbageCollected(new WebGLContextEvent);
|
| }
|
| - static PassRefPtr<WebGLContextEvent> create(const AtomicString& type, bool canBubble, bool cancelable, const String& statusMessage)
|
| + static PassRefPtrWillBeRawPtr<WebGLContextEvent> create(const AtomicString& type, bool canBubble, bool cancelable, const String& statusMessage)
|
| {
|
| - return adoptRef(new WebGLContextEvent(type, canBubble, cancelable, statusMessage));
|
| + return adoptRefCountedWillBeRefCountedGarbageCollected(new WebGLContextEvent(type, canBubble, cancelable, statusMessage));
|
| }
|
| - static PassRefPtr<WebGLContextEvent> create(const AtomicString& type, const WebGLContextEventInit& initializer)
|
| + static PassRefPtrWillBeRawPtr<WebGLContextEvent> create(const AtomicString& type, const WebGLContextEventInit& initializer)
|
| {
|
| - return adoptRef(new WebGLContextEvent(type, initializer));
|
| + return adoptRefCountedWillBeRefCountedGarbageCollected(new WebGLContextEvent(type, initializer));
|
| }
|
| virtual ~WebGLContextEvent();
|
|
|
|
|