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

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

Issue 893503002: Remove unused trace sampling states (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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 | sky/engine/platform/EventTracer.h » ('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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 FontFamilyNames::init(); 62 FontFamilyNames::init();
63 MediaFeatureNames::init(); 63 MediaFeatureNames::init();
64 MediaTypeNames::init(); 64 MediaTypeNames::init();
65 65
66 // It would make logical sense to do this in WTF::initialize() but there are 66 // It would make logical sense to do this in WTF::initialize() but there are
67 // ordering dependencies, e.g. about "xmlns". 67 // ordering dependencies, e.g. about "xmlns".
68 WTF::StringStatics::init(); 68 WTF::StringStatics::init();
69 69
70 QualifiedName::init(); 70 QualifiedName::init();
71 Partitions::init(); 71 Partitions::init();
72 EventTracer::initialize();
73 72
74 // Ensure that the main thread's thread-local data is initialized before 73 // Ensure that the main thread's thread-local data is initialized before
75 // starting any worker threads. 74 // starting any worker threads.
76 PlatformThreadData::current(); 75 PlatformThreadData::current();
77 76
78 StringImpl::freezeStaticStrings(); 77 StringImpl::freezeStaticStrings();
79 78
80 HTMLParserThread::start(); 79 HTMLParserThread::start();
81 } 80 }
82 81
83 void CoreInitializer::shutdown() 82 void CoreInitializer::shutdown()
84 { 83 {
85 HTMLParserThread::stop(); 84 HTMLParserThread::stop();
86 Partitions::shutdown(); 85 Partitions::shutdown();
87 } 86 }
88 87
89 } // namespace blink 88 } // namespace blink
OLDNEW
« no previous file with comments | « no previous file | sky/engine/platform/EventTracer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698