Index: Source/core/inspector/InspectorStyleSheet.cpp |
diff --git a/Source/core/inspector/InspectorStyleSheet.cpp b/Source/core/inspector/InspectorStyleSheet.cpp |
index bea104959a4043d01957966471ae6d4576735b27..7c7255169aa5fb8645d1f6009e22e015d7a89214 100644 |
--- a/Source/core/inspector/InspectorStyleSheet.cpp |
+++ b/Source/core/inspector/InspectorStyleSheet.cpp |
@@ -112,10 +112,8 @@ static void flattenSourceData(RuleSourceDataList* dataList, RuleSourceDataList* |
flattenSourceData(&data->childRules, target); |
else if (data->type == CSSRuleSourceData::HOST_RULE) |
flattenSourceData(&data->childRules, target); |
-#if ENABLE(CSS3_CONDITIONAL_RULES) |
else if (data->type == CSSRuleSourceData::SUPPORTS_RULE) |
flattenSourceData(&data->childRules, target); |
-#endif |
} |
} |
@@ -444,10 +442,8 @@ static PassRefPtr<CSSRuleList> asCSSRuleList(CSSRule* rule) |
if (rule->type() == CSSRule::HOST_RULE) |
return static_cast<CSSHostRule*>(rule)->cssRules(); |
-#if ENABLE(CSS3_CONDITIONAL_RULES) |
if (rule->type() == CSSRule::SUPPORTS_RULE) |
return static_cast<CSSSupportsRule*>(rule)->cssRules(); |
-#endif |
return 0; |
} |