OLD | NEW |
---|---|
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. | 3 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. |
4 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * | 9 * |
10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
79 void StyleResolverState::setCustomPropertySetForApplyAtRule(const String& string , StylePropertySet* customPropertySet) | 79 void StyleResolverState::setCustomPropertySetForApplyAtRule(const String& string , StylePropertySet* customPropertySet) |
80 { | 80 { |
81 m_customPropertySetsForApplyAtRule.set(string, customPropertySet); | 81 m_customPropertySetsForApplyAtRule.set(string, customPropertySet); |
82 } | 82 } |
83 | 83 |
84 StylePropertySet* StyleResolverState::customPropertySetForApplyAtRule(const Stri ng& string) | 84 StylePropertySet* StyleResolverState::customPropertySetForApplyAtRule(const Stri ng& string) |
85 { | 85 { |
86 return m_customPropertySetsForApplyAtRule.get(string); | 86 return m_customPropertySetsForApplyAtRule.get(string); |
87 } | 87 } |
88 | 88 |
89 HeapHashMap<CSSPropertyID, Member<const CSSValue>>& StyleResolverState::parsedPr opertiesForPendingSubstitution(const CSSValue& psv) | |
Timothy Loh
2016/06/27 04:19:10
no abbreviations in blink :)
Andy Mutton
2016/06/28 03:18:51
Done.
| |
90 { | |
91 HeapHashMap<CSSPropertyID, Member<const CSSValue>>* map = m_parsedProperties ForPendingSubstitution.get(&psv); | |
92 if (!map) { | |
93 map = new HeapHashMap<CSSPropertyID, Member<const CSSValue>>; | |
94 m_parsedPropertiesForPendingSubstitution.set(&psv, map); | |
95 } | |
96 return *map; | |
97 } | |
98 | |
89 } // namespace blink | 99 } // namespace blink |
OLD | NEW |