Index: Source/core/dom/Document.h |
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h |
index 63a1b56e95b3a35f28c5d9459aeb6c0ecbc3c176..834705edb2ae6ff815d32a72e8601c9a6c593c01 100644 |
--- a/Source/core/dom/Document.h |
+++ b/Source/core/dom/Document.h |
@@ -673,8 +673,8 @@ public: |
void setWindowAttributeEventListener(const AtomicString& eventType, PassRefPtr<EventListener>); |
EventListener* getWindowAttributeEventListener(const AtomicString& eventType); |
- PassRefPtr<Event> createEvent(const String& eventType, ExceptionState&); |
- PassRefPtr<Event> createEvent(ExceptionState&); |
+ PassRefPtrWillBeRawPtr<Event> createEvent(const String& eventType, ExceptionState&); |
+ PassRefPtrWillBeRawPtr<Event> createEvent(ExceptionState&); |
// keep track of what types of event listeners are registered, so we don't |
// dispatch events unnecessarily |