| Index: sky/engine/core/Init.cpp
|
| diff --git a/sky/engine/core/Init.cpp b/sky/engine/core/Init.cpp
|
| index 6806336f53e070bf30ecd94103f75a194fec9a7e..ad30fbff66aba8d468bea09c02ae0a98dc693bf2 100644
|
| --- a/sky/engine/core/Init.cpp
|
| +++ b/sky/engine/core/Init.cpp
|
| @@ -40,7 +40,6 @@
|
| #include "gen/sky/core/MediaTypeNames.h"
|
| #include "gen/sky/platform/FontFamilyNames.h"
|
| #include "sky/engine/core/dom/Document.h"
|
| -#include "sky/engine/core/events/EventFactory.h"
|
| #include "sky/engine/core/html/parser/HTMLParserThread.h"
|
| #include "sky/engine/platform/EventTracer.h"
|
| #include "sky/engine/platform/Partitions.h"
|
| @@ -49,16 +48,6 @@
|
|
|
| namespace blink {
|
|
|
| -void CoreInitializer::registerEventFactory()
|
| -{
|
| - static bool isRegistered = false;
|
| - if (isRegistered)
|
| - return;
|
| - isRegistered = true;
|
| -
|
| - Document::registerEventFactory(EventFactory::create());
|
| -}
|
| -
|
| void CoreInitializer::init()
|
| {
|
| ASSERT(!m_isInited);
|
| @@ -82,8 +71,6 @@ void CoreInitializer::init()
|
| Partitions::init();
|
| EventTracer::initialize();
|
|
|
| - registerEventFactory();
|
| -
|
| // Ensure that the main thread's thread-local data is initialized before
|
| // starting any worker threads.
|
| PlatformThreadData::current();
|
|
|