Index: Source/core/events/SecurityPolicyViolationEvent.h |
diff --git a/Source/core/events/SecurityPolicyViolationEvent.h b/Source/core/events/SecurityPolicyViolationEvent.h |
index aa53c06409dbe4f4611448a127eaaeda99c60d61..4b21147c947f43ac4b0bd122006437d112e8a68b 100644 |
--- a/Source/core/events/SecurityPolicyViolationEvent.h |
+++ b/Source/core/events/SecurityPolicyViolationEvent.h |
@@ -48,14 +48,14 @@ struct SecurityPolicyViolationEventInit : public EventInit { |
class SecurityPolicyViolationEvent FINAL : public Event { |
public: |
- static PassRefPtr<SecurityPolicyViolationEvent> create() |
+ static PassRefPtrWillBeRawPtr<SecurityPolicyViolationEvent> create() |
{ |
- return adoptRef(new SecurityPolicyViolationEvent()); |
+ return adoptRefWillBeRefCountedGarbageCollected(new SecurityPolicyViolationEvent()); |
} |
- static PassRefPtr<SecurityPolicyViolationEvent> create(const AtomicString& type, const SecurityPolicyViolationEventInit& initializer) |
+ static PassRefPtrWillBeRawPtr<SecurityPolicyViolationEvent> create(const AtomicString& type, const SecurityPolicyViolationEventInit& initializer) |
{ |
- return adoptRef(new SecurityPolicyViolationEvent(type, initializer)); |
+ return adoptRefWillBeRefCountedGarbageCollected(new SecurityPolicyViolationEvent(type, initializer)); |
} |
const String& documentURI() const { return m_documentURI; } |