Index: Source/core/dom/Document.h |
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h |
index 6c62c403b4f4a7f7bd677c12a601663ebb05761b..b20a0fec29fe05acc4cd0cd28ff9f725d91f48ad 100644 |
--- a/Source/core/dom/Document.h |
+++ b/Source/core/dom/Document.h |
@@ -691,7 +691,7 @@ public: |
void setWindowAttributeEventListener(const AtomicString& eventType, PassRefPtr<EventListener>); |
EventListener* getWindowAttributeEventListener(const AtomicString& eventType); |
- static void registerEventFactory(EventFactoryBase*); |
+ static void registerEventFactory(PassOwnPtr<EventFactoryBase>); |
static PassRefPtrWillBeRawPtr<Event> createEvent(const String& eventType, ExceptionState&); |
// keep track of what types of event listeners are registered, so we don't |
@@ -1187,7 +1187,7 @@ private: |
void setHoverNode(PassRefPtrWillBeRawPtr<Node>); |
Node* hoverNode() const { return m_hoverNode.get(); } |
- typedef HashSet<EventFactoryBase*> EventFactorySet; |
+ typedef HashSet<OwnPtr<EventFactoryBase> > EventFactorySet; |
static EventFactorySet& eventFactories(); |
DocumentLifecycle m_lifecycle; |