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..7be6b76598d6d46cd9098cc698d3157a053ce8d4 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 adoptRefWillBeRefCountedGarbageCollected(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 adoptRefWillBeRefCountedGarbageCollected(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 adoptRefWillBeRefCountedGarbageCollected(new WebGLContextEvent(type, initializer)); |
} |
virtual ~WebGLContextEvent(); |