| Index: Source/core/dom/Document.cpp
|
| diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
|
| index 02613ffb62168ff2fce5286458324ac3915ce6b6..80516f7ebdf0216048199be1008093e544af6a04 100644
|
| --- a/Source/core/dom/Document.cpp
|
| +++ b/Source/core/dom/Document.cpp
|
| @@ -3915,9 +3915,9 @@ Document::EventFactorySet& Document::eventFactories()
|
| return s_eventFactory;
|
| }
|
|
|
| -void Document::registerEventFactory(EventFactoryBase* eventFactory)
|
| +void Document::registerEventFactory(PassOwnPtr<EventFactoryBase> eventFactory)
|
| {
|
| - ASSERT(!eventFactories().contains(eventFactory));
|
| + ASSERT(!eventFactories().contains(eventFactory.get()));
|
| eventFactories().add(eventFactory);
|
| }
|
|
|
|
|