| Index: Source/modules/InitModules.cpp
|
| diff --git a/Source/modules/InitModules.cpp b/Source/modules/InitModules.cpp
|
| index 0752e927df317b4396b084c86fdc8ac94cbac891..d271534a38ef49a731514e955c6c9388ac1ab4ca 100644
|
| --- a/Source/modules/InitModules.cpp
|
| +++ b/Source/modules/InitModules.cpp
|
| @@ -28,7 +28,7 @@ void ModulesInitializer::initEventTargetNames()
|
| void ModulesInitializer::registerEventFactory()
|
| {
|
| CoreInitializer::registerEventFactory();
|
| - Document::registerEventFactory(new EventModulesFactory());
|
| + Document::registerEventFactory(EventModulesFactory::create());
|
| }
|
|
|
| } // namespace WebCore
|
|
|