Index: Source/core/css/CSSPropertySourceData.cpp |
diff --git a/Source/core/css/CSSPropertySourceData.cpp b/Source/core/css/CSSPropertySourceData.cpp |
index 6a5ff1b31bf0cd5e9a67fe4a7aa0db1ede230da9..26bf1b68d754bc08550daf9dedb64f4e83cd05b1 100644 |
--- a/Source/core/css/CSSPropertySourceData.cpp |
+++ b/Source/core/css/CSSPropertySourceData.cpp |
@@ -30,10 +30,6 @@ |
#include "config.h" |
-#ifdef SKIP_STATIC_CONSTRUCTORS_ON_GCC |
-#define CSSPROPERTYSOURCEDATA_HIDE_GLOBALS 1 |
-#endif |
- |
#include "core/css/CSSPropertySourceData.h" |
#include "wtf/StaticConstructors.h" |
@@ -114,17 +110,13 @@ unsigned CSSPropertySourceData::hash() const |
return StringHash::hash(name) + 3 * StringHash::hash(value) + 7 * important + 13 * parsedOk + 31; |
} |
-// Global init routines |
-DEFINE_GLOBAL(CSSPropertySourceData, emptyCSSPropertySourceData, "", "e", false, false) |
- |
-// static |
-void CSSPropertySourceData::init() |
+void CSSRuleSourceData::trace(Visitor* visitor) |
{ |
- static bool initialized; |
- if (!initialized) { |
- new ((void *) &emptyCSSPropertySourceData) CSSPropertySourceData("", "e", false, false, false, SourceRange(0, 0)); |
- initialized = true; |
- } |
+ visitor->trace(ruleHeaderRange); |
+ visitor->trace(ruleBodyRange); |
+ visitor->trace(selectorRanges); |
+ visitor->trace(styleSourceData); |
+ visitor->trace(childRules); |
} |
} // namespace WebCore |