Index: Source/core/css/StyleSheetContents.cpp |
diff --git a/Source/core/css/StyleSheetContents.cpp b/Source/core/css/StyleSheetContents.cpp |
index f665050bf6d42d455c44765c5639b8b1befad026..a71f819b0de83d9bc7263d9aae1edc0685775ea5 100644 |
--- a/Source/core/css/StyleSheetContents.cpp |
+++ b/Source/core/css/StyleSheetContents.cpp |
@@ -137,11 +137,9 @@ void StyleSheetContents::parserAppendRule(PassRefPtr<StyleRuleBase> rule) |
return; |
} |
-#if ENABLE(RESOLUTION_MEDIA_QUERY) |
// Add warning message to inspector if dpi/dpcm values are used for screen media. |
if (rule->isMediaRule()) |
reportMediaQueryWarningIfNeeded(singleOwnerDocument(), static_cast<StyleRuleMedia*>(rule.get())->mediaQueries()); |
-#endif |
m_childRules.append(rule); |
} |
@@ -149,7 +147,7 @@ void StyleSheetContents::parserAppendRule(PassRefPtr<StyleRuleBase> rule) |
StyleRuleBase* StyleSheetContents::ruleAt(unsigned index) const |
{ |
ASSERT_WITH_SECURITY_IMPLICATION(index < ruleCount()); |
- |
+ |
unsigned childVectorIndex = index; |
if (hasCharsetRule()) { |
if (index == 0) |