Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(228)

Side by Side Diff: sky/engine/core/Init.cpp

Issue 1215103007: Remove remaining HTML elements (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « sky/engine/build/scripts/templates/ElementFactory.cpp.tmpl ('k') | sky/engine/core/core.gni » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 21 matching lines...) Expand all
32 32
33 #include "gen/sky/core/EventNames.h" 33 #include "gen/sky/core/EventNames.h"
34 #include "gen/sky/core/EventTargetNames.h" 34 #include "gen/sky/core/EventTargetNames.h"
35 #include "gen/sky/core/EventTypeNames.h" 35 #include "gen/sky/core/EventTypeNames.h"
36 #include "gen/sky/core/FetchInitiatorTypeNames.h" 36 #include "gen/sky/core/FetchInitiatorTypeNames.h"
37 #include "gen/sky/core/HTMLNames.h" 37 #include "gen/sky/core/HTMLNames.h"
38 #include "gen/sky/core/MediaFeatureNames.h" 38 #include "gen/sky/core/MediaFeatureNames.h"
39 #include "gen/sky/core/MediaTypeNames.h" 39 #include "gen/sky/core/MediaTypeNames.h"
40 #include "gen/sky/platform/FontFamilyNames.h" 40 #include "gen/sky/platform/FontFamilyNames.h"
41 #include "sky/engine/core/dom/Document.h" 41 #include "sky/engine/core/dom/Document.h"
42 #include "sky/engine/core/html/parser/HTMLParserThread.h"
43 #include "sky/engine/platform/Partitions.h" 42 #include "sky/engine/platform/Partitions.h"
44 #include "sky/engine/platform/PlatformThreadData.h" 43 #include "sky/engine/platform/PlatformThreadData.h"
45 #include "sky/engine/wtf/text/StringStatics.h" 44 #include "sky/engine/wtf/text/StringStatics.h"
46 45
47 namespace blink { 46 namespace blink {
48 47
49 void CoreInitializer::init() 48 void CoreInitializer::init()
50 { 49 {
51 ASSERT(!m_isInited); 50 ASSERT(!m_isInited);
52 m_isInited = true; 51 m_isInited = true;
(...skipping 13 matching lines...) Expand all
66 WTF::StringStatics::init(); 65 WTF::StringStatics::init();
67 66
68 QualifiedName::init(); 67 QualifiedName::init();
69 Partitions::init(); 68 Partitions::init();
70 69
71 // Ensure that the main thread's thread-local data is initialized before 70 // Ensure that the main thread's thread-local data is initialized before
72 // starting any worker threads. 71 // starting any worker threads.
73 PlatformThreadData::current(); 72 PlatformThreadData::current();
74 73
75 StringImpl::freezeStaticStrings(); 74 StringImpl::freezeStaticStrings();
76
77 HTMLParserThread::start();
78 } 75 }
79 76
80 void CoreInitializer::shutdown() 77 void CoreInitializer::shutdown()
81 { 78 {
82 HTMLParserThread::stop();
83 Partitions::shutdown(); 79 Partitions::shutdown();
84 } 80 }
85 81
86 } // namespace blink 82 } // namespace blink
OLDNEW
« no previous file with comments | « sky/engine/build/scripts/templates/ElementFactory.cpp.tmpl ('k') | sky/engine/core/core.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698