Use LazyNeverDestroyed instead of DEFINE_GLOBAL
https://bugs.webkit.org/show_bug.cgi?id=174979
Patch by Fujii Hironori <Fujii Hironori> on 2017-11-01
Reviewed by Yusuke Suzuki.
Source/JavaScriptCore:
- config.h: Removed definitions of SKIP_STATIC_CONSTRUCTORS_ON_MSVC and SKIP_STATIC_CONSTRUCTORS_ON_GCC.
Source/WebCore:
No new tests since there should be no behavioral change.
- DerivedSources.cpp: Remove the warning of StaticConstructors.h.
- WebCore.order: Removed
- config.h: Removed definitions of SKIP_STATIC_CONSTRUCTORS_ON_MSVC and SKIP_STATIC_CONSTRUCTORS_ON_GCC.
- dom/QualifiedName.cpp:
(WebCore::createQualifiedName): Deleted.
- dom/QualifiedName.h: Removed createQualifiedName.
- dom/make_names.pl:
(printCppHead): Do not include StaticConstructors.h.
Source/WTF:
DEFINE_GLOBAL is not used anymore. Remove it.
- WTF.xcodeproj/project.pbxproj: Removed StaticConstructors.h
- config.h: Removed definitions of SKIP_STATIC_CONSTRUCTORS_ON_MSVC and SKIP_STATIC_CONSTRUCTORS_ON_GCC.
- wtf/CMakeLists.txt: Removed StaticConstructors.h
- wtf/StaticConstructors.h: Removed.