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

Side by Side Diff: Source/core/css/StyleRule.h

Issue 758533004: Oilpan: enable eager tracing of common animation objects. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@sof-trace-eager-final
Patch Set: rebased Created 6 years 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
« no previous file with comments | « Source/core/css/StylePropertySet.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * (C) 1999-2003 Lars Knoll (knoll@kde.org) 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org)
3 * (C) 2002-2003 Dirk Mueller (mueller@kde.org) 3 * (C) 2002-2003 Dirk Mueller (mueller@kde.org)
4 * Copyright (C) 2002, 2006, 2008, 2012, 2013 Apple Inc. All rights reserved. 4 * Copyright (C) 2002, 2006, 2008, 2012, 2013 Apple Inc. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 ~StyleRuleBase() { } 89 ~StyleRuleBase() { }
90 90
91 private: 91 private:
92 void destroy(); 92 void destroy();
93 93
94 PassRefPtrWillBeRawPtr<CSSRule> createCSSOMWrapper(CSSStyleSheet* parentShee t, CSSRule* parentRule) const; 94 PassRefPtrWillBeRawPtr<CSSRule> createCSSOMWrapper(CSSStyleSheet* parentShee t, CSSRule* parentRule) const;
95 95
96 unsigned m_type : 5; 96 unsigned m_type : 5;
97 }; 97 };
98 98
99 WILL_BE_EAGERLY_TRACED(StyleRuleBase);
100
99 class StyleRule : public StyleRuleBase { 101 class StyleRule : public StyleRuleBase {
100 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED; 102 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED;
101 public: 103 public:
102 static PassRefPtrWillBeRawPtr<StyleRule> create() { return adoptRefWillBeNoo p(new StyleRule()); } 104 static PassRefPtrWillBeRawPtr<StyleRule> create() { return adoptRefWillBeNoo p(new StyleRule()); }
103 105
104 ~StyleRule(); 106 ~StyleRule();
105 107
106 const CSSSelectorList& selectorList() const { return m_selectorList; } 108 const CSSSelectorList& selectorList() const { return m_selectorList; }
107 const StylePropertySet& properties() const { return *m_properties; } 109 const StylePropertySet& properties() const { return *m_properties; }
108 MutableStylePropertySet& mutableProperties(); 110 MutableStylePropertySet& mutableProperties();
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 DEFINE_STYLE_RULE_TYPE_CASTS(FontFace); 287 DEFINE_STYLE_RULE_TYPE_CASTS(FontFace);
286 DEFINE_STYLE_RULE_TYPE_CASTS(Page); 288 DEFINE_STYLE_RULE_TYPE_CASTS(Page);
287 DEFINE_STYLE_RULE_TYPE_CASTS(Media); 289 DEFINE_STYLE_RULE_TYPE_CASTS(Media);
288 DEFINE_STYLE_RULE_TYPE_CASTS(Supports); 290 DEFINE_STYLE_RULE_TYPE_CASTS(Supports);
289 DEFINE_STYLE_RULE_TYPE_CASTS(Viewport); 291 DEFINE_STYLE_RULE_TYPE_CASTS(Viewport);
290 DEFINE_STYLE_RULE_TYPE_CASTS(Filter); 292 DEFINE_STYLE_RULE_TYPE_CASTS(Filter);
291 293
292 } // namespace blink 294 } // namespace blink
293 295
294 #endif // StyleRule_h 296 #endif // StyleRule_h
OLDNEW
« no previous file with comments | « Source/core/css/StylePropertySet.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698