OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 #include "core/events/EventFactory.h" | 52 #include "core/events/EventFactory.h" |
53 #include "core/html/canvas/CanvasRenderingContextFactory.h" | 53 #include "core/html/canvas/CanvasRenderingContextFactory.h" |
54 #include "core/workers/WorkerThread.h" | 54 #include "core/workers/WorkerThread.h" |
55 #include "platform/FontFamilyNames.h" | 55 #include "platform/FontFamilyNames.h" |
56 #include "platform/HTTPNames.h" | 56 #include "platform/HTTPNames.h" |
57 #include "platform/RuntimeEnabledFeatures.h" | 57 #include "platform/RuntimeEnabledFeatures.h" |
58 #include "platform/loader/fetch/FetchInitiatorTypeNames.h" | 58 #include "platform/loader/fetch/FetchInitiatorTypeNames.h" |
59 #include "platform/weborigin/KURL.h" | 59 #include "platform/weborigin/KURL.h" |
60 #include "platform/weborigin/SchemeRegistry.h" | 60 #include "platform/weborigin/SchemeRegistry.h" |
61 #include "platform/weborigin/SecurityPolicy.h" | 61 #include "platform/weborigin/SecurityPolicy.h" |
| 62 #include "platform/wtf/allocator/Partitions.h" |
| 63 #include "platform/wtf/text/AtomicStringTable.h" |
62 #include "public/platform/Platform.h" | 64 #include "public/platform/Platform.h" |
63 #include "wtf/allocator/Partitions.h" | |
64 #include "wtf/text/AtomicStringTable.h" | |
65 | 65 |
66 namespace blink { | 66 namespace blink { |
67 | 67 |
68 void CoreInitializer::RegisterEventFactory() { | 68 void CoreInitializer::RegisterEventFactory() { |
69 static bool is_registered = false; | 69 static bool is_registered = false; |
70 if (is_registered) | 70 if (is_registered) |
71 return; | 71 return; |
72 is_registered = true; | 72 is_registered = true; |
73 | 73 |
74 Document::RegisterEventFactory(EventFactory::Create()); | 74 Document::RegisterEventFactory(EventFactory::Create()); |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 SecurityPolicy::Init(); | 138 SecurityPolicy::Init(); |
139 | 139 |
140 RegisterEventFactory(); | 140 RegisterEventFactory(); |
141 | 141 |
142 StringImpl::FreezeStaticStrings(); | 142 StringImpl::FreezeStaticStrings(); |
143 | 143 |
144 ScriptStreamerThread::Init(); | 144 ScriptStreamerThread::Init(); |
145 } | 145 } |
146 | 146 |
147 } // namespace blink | 147 } // namespace blink |
OLD | NEW |