diff options
Diffstat (limited to 'Source/WebCore/css/StyleSheetContents.cpp')
-rw-r--r-- | Source/WebCore/css/StyleSheetContents.cpp | 7 |
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; } } |