| OLD | NEW |
| 1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "config.h" | 5 #include "config.h" |
| 6 #include "InitModules.h" | 6 #include "InitModules.h" |
| 7 | 7 |
| 8 #include "EventModulesFactory.h" | 8 #include "EventModulesFactory.h" |
| 9 #include "EventModulesNames.h" | 9 #include "EventModulesNames.h" |
| 10 #include "EventTargetModulesNames.h" | 10 #include "EventTargetModulesNames.h" |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 | 21 |
| 22 void ModulesInitializer::initEventTargetNames() | 22 void ModulesInitializer::initEventTargetNames() |
| 23 { | 23 { |
| 24 EventTargetNames::init(); | 24 EventTargetNames::init(); |
| 25 EventTargetNames::initModules(); | 25 EventTargetNames::initModules(); |
| 26 } | 26 } |
| 27 | 27 |
| 28 void ModulesInitializer::registerEventFactory() | 28 void ModulesInitializer::registerEventFactory() |
| 29 { | 29 { |
| 30 CoreInitializer::registerEventFactory(); | 30 CoreInitializer::registerEventFactory(); |
| 31 Document::registerEventFactory(new EventModulesFactory()); | 31 Document::registerEventFactory(EventModulesFactory::create()); |
| 32 } | 32 } |
| 33 | 33 |
| 34 } // namespace WebCore | 34 } // namespace WebCore |
| OLD | NEW |