OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "core/css/StyleRuleKeyframe.h" | 5 #include "core/css/StyleRuleKeyframe.h" |
6 | 6 |
7 #include "core/css/StylePropertySet.h" | 7 #include "core/css/StylePropertySet.h" |
8 #include "core/css/parser/CSSParser.h" | 8 #include "core/css/parser/CSSParser.h" |
9 #include "wtf/text/StringBuilder.h" | 9 #include "wtf/text/StringBuilder.h" |
10 | 10 |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 result.append(keyText()); | 62 result.append(keyText()); |
63 result.appendLiteral(" { "); | 63 result.appendLiteral(" { "); |
64 String decls = m_properties->asText(); | 64 String decls = m_properties->asText(); |
65 result.append(decls); | 65 result.append(decls); |
66 if (!decls.isEmpty()) | 66 if (!decls.isEmpty()) |
67 result.append(' '); | 67 result.append(' '); |
68 result.append('}'); | 68 result.append('}'); |
69 return result.toString(); | 69 return result.toString(); |
70 } | 70 } |
71 | 71 |
| 72 void StyleRuleKeyframe::purgeMemory() |
| 73 { |
| 74 m_properties->purgeMemory(); |
| 75 } |
| 76 |
72 DEFINE_TRACE_AFTER_DISPATCH(StyleRuleKeyframe) | 77 DEFINE_TRACE_AFTER_DISPATCH(StyleRuleKeyframe) |
73 { | 78 { |
74 visitor->trace(m_properties); | 79 visitor->trace(m_properties); |
75 StyleRuleBase::traceAfterDispatch(visitor); | 80 StyleRuleBase::traceAfterDispatch(visitor); |
76 } | 81 } |
77 | 82 |
78 } // namespace blink | 83 } // namespace blink |
OLD | NEW |