| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011, 2012 Apple Inc. All rights reserved. | 2 * Copyright (C) 2011, 2012 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 m_fontFaceValueCache.clear(); | 141 m_fontFaceValueCache.clear(); |
| 142 | 142 |
| 143 RefPtrWillBeMember<CSSValueList>& value = m_fontFaceValueCache.add(string, n
ullptr).storedValue->value; | 143 RefPtrWillBeMember<CSSValueList>& value = m_fontFaceValueCache.add(string, n
ullptr).storedValue->value; |
| 144 if (!value) | 144 if (!value) |
| 145 value = BisonCSSParser::parseFontFaceValue(string); | 145 value = BisonCSSParser::parseFontFaceValue(string); |
| 146 return value; | 146 return value; |
| 147 } | 147 } |
| 148 | 148 |
| 149 void CSSValuePool::trace(Visitor* visitor) | 149 void CSSValuePool::trace(Visitor* visitor) |
| 150 { | 150 { |
| 151 #if ENABLE(OILPAN) |
| 151 visitor->trace(m_inheritedValue); | 152 visitor->trace(m_inheritedValue); |
| 152 visitor->trace(m_implicitInitialValue); | 153 visitor->trace(m_implicitInitialValue); |
| 153 visitor->trace(m_explicitInitialValue); | 154 visitor->trace(m_explicitInitialValue); |
| 154 visitor->trace(m_identifierValueCache); | 155 visitor->trace(m_identifierValueCache); |
| 155 visitor->trace(m_colorValueCache); | 156 visitor->trace(m_colorValueCache); |
| 156 visitor->trace(m_colorTransparent); | 157 visitor->trace(m_colorTransparent); |
| 157 visitor->trace(m_colorWhite); | 158 visitor->trace(m_colorWhite); |
| 158 visitor->trace(m_colorBlack); | 159 visitor->trace(m_colorBlack); |
| 159 visitor->trace(m_pixelValueCache); | 160 visitor->trace(m_pixelValueCache); |
| 160 visitor->trace(m_percentValueCache); | 161 visitor->trace(m_percentValueCache); |
| 161 visitor->trace(m_numberValueCache); | 162 visitor->trace(m_numberValueCache); |
| 162 visitor->trace(m_fontFaceValueCache); | 163 visitor->trace(m_fontFaceValueCache); |
| 163 visitor->trace(m_fontFamilyValueCache); | 164 visitor->trace(m_fontFamilyValueCache); |
| 165 #endif |
| 164 } | 166 } |
| 165 | 167 |
| 166 } | 168 } |
| OLD | NEW |