Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1206)

Unified Diff: Source/core/html/canvas/WebGLContextEvent.h

Issue 185393006: Revert "Add [WillBeGarbageCollected] to Event.idl" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/html/canvas/WebGLContextEvent.h
diff --git a/Source/core/html/canvas/WebGLContextEvent.h b/Source/core/html/canvas/WebGLContextEvent.h
index 7be6b76598d6d46cd9098cc698d3157a053ce8d4..4326054855205e77843a8e35640debf07c899bf5 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 PassRefPtrWillBeRawPtr<WebGLContextEvent> create()
+ static PassRefPtr<WebGLContextEvent> create()
{
- return adoptRefWillBeRefCountedGarbageCollected(new WebGLContextEvent);
+ return adoptRef(new WebGLContextEvent);
}
- static PassRefPtrWillBeRawPtr<WebGLContextEvent> create(const AtomicString& type, bool canBubble, bool cancelable, const String& statusMessage)
+ static PassRefPtr<WebGLContextEvent> create(const AtomicString& type, bool canBubble, bool cancelable, const String& statusMessage)
{
- return adoptRefWillBeRefCountedGarbageCollected(new WebGLContextEvent(type, canBubble, cancelable, statusMessage));
+ return adoptRef(new WebGLContextEvent(type, canBubble, cancelable, statusMessage));
}
- static PassRefPtrWillBeRawPtr<WebGLContextEvent> create(const AtomicString& type, const WebGLContextEventInit& initializer)
+ static PassRefPtr<WebGLContextEvent> create(const AtomicString& type, const WebGLContextEventInit& initializer)
{
- return adoptRefWillBeRefCountedGarbageCollected(new WebGLContextEvent(type, initializer));
+ return adoptRef(new WebGLContextEvent(type, initializer));
}
virtual ~WebGLContextEvent();

Powered by Google App Engine
This is Rietveld 408576698