summaryrefslogtreecommitdiff
path: root/Source/WebCore/css/StyleSheetContents.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/css/StyleSheetContents.cpp')
-rw-r--r--Source/WebCore/css/StyleSheetContents.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/WebCore/css/StyleSheetContents.cpp b/Source/WebCore/css/StyleSheetContents.cpp
index e7ce81eaa..2f07fce83 100644
--- a/Source/WebCore/css/StyleSheetContents.cpp
+++ b/Source/WebCore/css/StyleSheetContents.cpp
@@ -435,6 +435,10 @@ static bool childRulesHaveFailedOrCanceledSubresources(const Vector<RefPtr<Style
if (childRulesHaveFailedOrCanceledSubresources(static_cast<const StyleRuleRegion*>(rule)->childRules()))
return true;
break;
+ case StyleRuleBase::Host:
+ if (childRulesHaveFailedOrCanceledSubresources(static_cast<const StyleRuleHost*>(rule)->childRules()))
+ return true;
+ break;
case StyleRuleBase::Import:
ASSERT_NOT_REACHED();
case StyleRuleBase::Page:
@@ -442,6 +446,9 @@ static bool childRulesHaveFailedOrCanceledSubresources(const Vector<RefPtr<Style
case StyleRuleBase::Unknown:
case StyleRuleBase::Charset:
case StyleRuleBase::Keyframe:
+#if ENABLE(CSS_DEVICE_ADAPTATION)
+ case StyleRuleBase::Viewport:
+#endif
break;
}
}