Changeset 174469 in webkit for trunk/Source/WebCore/css/WebKitCSSKeyframesRule.cpp
- Timestamp:
- Oct 8, 2014, 12:24:43 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/css/WebKitCSSKeyframesRule.cpp
r174256 r174469 30 30 #include "CSSRuleList.h" 31 31 #include "CSSStyleSheet.h" 32 #include "Document.h" 32 33 #include "StyleProperties.h" 33 34 #include "StyleSheet.h" … … 111 112 } 112 113 114 void WebKitCSSKeyframesRule::appendRule(const String& ruleText) 115 { 116 if (CSSStyleSheet* parent = parentStyleSheet()) { 117 if (Document* ownerDocument = parent->ownerDocument()) 118 ownerDocument->addConsoleMessage(MessageSource::JS, MessageLevel::Warning, ASCIILiteral("CSSKeyframesRule 'appendRule' function is deprecated. Use 'insertRule' instead.")); 119 } 120 insertRule(ruleText); 121 } 122 113 123 void WebKitCSSKeyframesRule::insertRule(const String& ruleText) 114 124 {
Note:
See TracChangeset
for help on using the changeset viewer.