Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(71)

Side by Side Diff: third_party/WebKit/Source/core/css/StyleRuleKeyframe.cpp

Issue 1658923004: PurgeMemory. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/StyleRuleKeyframe.h ('k') | third_party/WebKit/Source/core/css/StyleRuleNamespace.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698