Changeset 287828 in webkit
- Timestamp:
- Jan 9, 2022, 1:38:56 PM (5 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
-
ChangeLog (modified) (1 diff)
-
style/StyleResolver.cpp (modified) (1 diff)
-
style/StyleResolver.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r287827 r287828 1 2022-01-09 Antoine Quint <graouts@webkit.org> 2 3 Style::Resolver::keyframeRulesForName() signature should be improved 4 https://bugs.webkit.org/show_bug.cgi?id=235021 5 6 Reviewed by Darin Adler. 7 8 Darin pointed out during the review for bug 235008 that the method itself 9 should be const, not its return value. 10 11 * style/StyleResolver.cpp: 12 (WebCore::Style::Resolver::keyframeRulesForName const): 13 (WebCore::Style::Resolver::keyframeRulesForName): Deleted. 14 * style/StyleResolver.h: 15 1 16 2022-01-09 Antoine Quint <graouts@webkit.org> 2 17 -
trunk/Source/WebCore/style/StyleResolver.cpp
r287827 r287828 308 308 } 309 309 310 const Vector<Ref<StyleRuleKeyframe>> Resolver::keyframeRulesForName(const AtomString& animationName) 310 Vector<Ref<StyleRuleKeyframe>> Resolver::keyframeRulesForName(const AtomString& animationName) const 311 311 { 312 312 if (animationName.isEmpty()) -
trunk/Source/WebCore/style/StyleResolver.h
r287820 r287828 140 140 141 141 void addKeyframeStyle(Ref<StyleRuleKeyframes>&&); 142 const Vector<Ref<StyleRuleKeyframe>> keyframeRulesForName(const AtomString&);142 Vector<Ref<StyleRuleKeyframe>> keyframeRulesForName(const AtomString&) const; 143 143 144 144 bool usesFirstLineRules() const { return m_ruleSets.features().usesFirstLineRules; }
Note:
See TracChangeset
for help on using the changeset viewer.