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

Unified Diff: Source/core/events/SecurityPolicyViolationEvent.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/events/SecurityPolicyViolationEvent.h
diff --git a/Source/core/events/SecurityPolicyViolationEvent.h b/Source/core/events/SecurityPolicyViolationEvent.h
index 1325297e333550f7e9e395193e76230a13c52cfd..efe2481272d2b03fd61a68b9c329ec9f3b6314d7 100644
--- a/Source/core/events/SecurityPolicyViolationEvent.h
+++ b/Source/core/events/SecurityPolicyViolationEvent.h
@@ -49,14 +49,14 @@ struct SecurityPolicyViolationEventInit : public EventInit {
class SecurityPolicyViolationEvent FINAL : public Event {
public:
- static PassRefPtrWillBeRawPtr<SecurityPolicyViolationEvent> create()
+ static PassRefPtr<SecurityPolicyViolationEvent> create()
{
- return adoptRefWillBeRefCountedGarbageCollected(new SecurityPolicyViolationEvent());
+ return adoptRef(new SecurityPolicyViolationEvent());
}
- static PassRefPtrWillBeRawPtr<SecurityPolicyViolationEvent> create(const AtomicString& type, const SecurityPolicyViolationEventInit& initializer)
+ static PassRefPtr<SecurityPolicyViolationEvent> create(const AtomicString& type, const SecurityPolicyViolationEventInit& initializer)
{
- return adoptRefWillBeRefCountedGarbageCollected(new SecurityPolicyViolationEvent(type, initializer));
+ return adoptRef(new SecurityPolicyViolationEvent(type, initializer));
}
const String& documentURI() const { return m_documentURI; }

Powered by Google App Engine
This is Rietveld 408576698