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

Side by Side Diff: Source/core/Init.cpp

Issue 547823002: Track reasons for |Node::SetNeedsStyleRecalc| (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: use AtomicString Created 6 years, 2 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 | « no previous file | Source/core/core.gypi » ('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 29 matching lines...) Expand all
40 #include "core/HTMLTokenizerNames.h" 40 #include "core/HTMLTokenizerNames.h"
41 #include "core/InputTypeNames.h" 41 #include "core/InputTypeNames.h"
42 #include "core/MathMLNames.h" 42 #include "core/MathMLNames.h"
43 #include "core/MediaFeatureNames.h" 43 #include "core/MediaFeatureNames.h"
44 #include "core/MediaTypeNames.h" 44 #include "core/MediaTypeNames.h"
45 #include "core/SVGNames.h" 45 #include "core/SVGNames.h"
46 #include "core/XLinkNames.h" 46 #include "core/XLinkNames.h"
47 #include "core/XMLNSNames.h" 47 #include "core/XMLNSNames.h"
48 #include "core/XMLNames.h" 48 #include "core/XMLNames.h"
49 #include "core/dom/Document.h" 49 #include "core/dom/Document.h"
50 #include "core/dom/StyleChangeReason.h"
50 #include "core/events/EventFactory.h" 51 #include "core/events/EventFactory.h"
51 #include "core/html/parser/HTMLParserThread.h" 52 #include "core/html/parser/HTMLParserThread.h"
52 #include "core/workers/WorkerThread.h" 53 #include "core/workers/WorkerThread.h"
53 #include "platform/EventTracer.h" 54 #include "platform/EventTracer.h"
54 #include "platform/FontFamilyNames.h" 55 #include "platform/FontFamilyNames.h"
55 #include "platform/Partitions.h" 56 #include "platform/Partitions.h"
56 #include "platform/PlatformThreadData.h" 57 #include "platform/PlatformThreadData.h"
57 #include "platform/heap/Heap.h" 58 #include "platform/heap/Heap.h"
58 #include "wtf/text/StringStatics.h" 59 #include "wtf/text/StringStatics.h"
59 60
(...skipping 28 matching lines...) Expand all
88 FontFamilyNames::init(); 89 FontFamilyNames::init();
89 HTMLTokenizerNames::init(); 90 HTMLTokenizerNames::init();
90 InputTypeNames::init(); 91 InputTypeNames::init();
91 MediaFeatureNames::init(); 92 MediaFeatureNames::init();
92 MediaTypeNames::init(); 93 MediaTypeNames::init();
93 94
94 // It would make logical sense to do this in WTF::initialize() but there are 95 // It would make logical sense to do this in WTF::initialize() but there are
95 // ordering dependencies, e.g. about "xmlns". 96 // ordering dependencies, e.g. about "xmlns".
96 WTF::StringStatics::init(); 97 WTF::StringStatics::init();
97 98
99 StyleChangeExtraData::init();
100
98 QualifiedName::init(); 101 QualifiedName::init();
99 Partitions::init(); 102 Partitions::init();
100 EventTracer::initialize(); 103 EventTracer::initialize();
101 104
102 registerEventFactory(); 105 registerEventFactory();
103 106
104 // Ensure that the main thread's thread-local data is initialized before 107 // Ensure that the main thread's thread-local data is initialized before
105 // starting any worker threads. 108 // starting any worker threads.
106 PlatformThreadData::current(); 109 PlatformThreadData::current();
107 110
(...skipping 12 matching lines...) Expand all
120 ScriptStreamerThread::shutdown(); 123 ScriptStreamerThread::shutdown();
121 HTMLParserThread::shutdown(); 124 HTMLParserThread::shutdown();
122 125
123 // Make sure we stop WorkerThreads before Partition::shutdown() which frees ExecutionContext. 126 // Make sure we stop WorkerThreads before Partition::shutdown() which frees ExecutionContext.
124 WorkerThread::terminateAndWaitForAllWorkers(); 127 WorkerThread::terminateAndWaitForAllWorkers();
125 128
126 Partitions::shutdown(); 129 Partitions::shutdown();
127 } 130 }
128 131
129 } // namespace blink 132 } // namespace blink
OLDNEW
« no previous file with comments | « no previous file | Source/core/core.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698