| Index: Source/core/css/StyleRule.h
|
| diff --git a/Source/core/css/StyleRule.h b/Source/core/css/StyleRule.h
|
| index 5aeaf86a5a42b71becfc5f44a1ff3573c00e4caf..aa319ed734416358497681eebc5c1765e301f7cd 100644
|
| --- a/Source/core/css/StyleRule.h
|
| +++ b/Source/core/css/StyleRule.h
|
| @@ -128,6 +128,14 @@ inline const StyleRule* toStyleRule(const StyleRuleBase* rule)
|
| return static_cast<const StyleRule*>(rule);
|
| }
|
|
|
| +inline StyleRule* toStyleRule(StyleRuleBase* rule)
|
| +{
|
| + ASSERT_WITH_SECURITY_IMPLICATION(!rule || rule->isStyleRule());
|
| + return static_cast<StyleRule*>(rule);
|
| +}
|
| +
|
| +void toStyleRule(const StyleRule*);
|
| +
|
| class StyleRuleFontFace : public StyleRuleBase {
|
| public:
|
| static PassRefPtr<StyleRuleFontFace> create() { return adoptRef(new StyleRuleFontFace); }
|
|
|