Chromium Code Reviews| Index: Source/core/Init.cpp |
| diff --git a/Source/core/Init.cpp b/Source/core/Init.cpp |
| index bacf2b37b672a319b04b04ee85b109b0cf88b797..67981f0c2d50197011688fd2acf251d313160dcf 100644 |
| --- a/Source/core/Init.cpp |
| +++ b/Source/core/Init.cpp |
| @@ -74,7 +74,7 @@ void CoreInitializer::registerEventFactory() |
| return; |
| isRegistered = true; |
| - Document::registerEventFactory(new EventFactory()); |
| + Document::registerEventFactory(EventFactory::create()); |
| } |
| void CoreInitializer::init() |