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 10 matching lines...) Expand all Loading... |
21 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | 21 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
22 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF | 22 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF |
23 * THE POSSIBILITY OF SUCH DAMAGE. | 23 * THE POSSIBILITY OF SUCH DAMAGE. |
24 */ | 24 */ |
25 | 25 |
26 #include "config.h" | 26 #include "config.h" |
27 #include "core/css/CSSValuePool.h" | 27 #include "core/css/CSSValuePool.h" |
28 | 28 |
29 #include "CSSValueKeywords.h" | 29 #include "CSSValueKeywords.h" |
30 #include "core/css/CSSParser.h" | 30 #include "core/css/CSSParser.h" |
31 #include "core/css/CSSStyleSheet.h" | |
32 #include "core/css/CSSValueList.h" | 31 #include "core/css/CSSValueList.h" |
33 | 32 |
34 namespace WebCore { | 33 namespace WebCore { |
35 | 34 |
36 CSSValuePool& cssValuePool() | 35 CSSValuePool& cssValuePool() |
37 { | 36 { |
38 DEFINE_STATIC_LOCAL(CSSValuePool, pool, ()); | 37 DEFINE_STATIC_LOCAL(CSSValuePool, pool, ()); |
39 return pool; | 38 return pool; |
40 } | 39 } |
41 | 40 |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 m_identifierValueCache[i] = 0; | 141 m_identifierValueCache[i] = 0; |
143 | 142 |
144 for (int i = 0; i < maximumCacheableIntegerValue; ++i) { | 143 for (int i = 0; i < maximumCacheableIntegerValue; ++i) { |
145 m_pixelValueCache[i] = 0; | 144 m_pixelValueCache[i] = 0; |
146 m_percentValueCache[i] = 0; | 145 m_percentValueCache[i] = 0; |
147 m_numberValueCache[i] = 0; | 146 m_numberValueCache[i] = 0; |
148 } | 147 } |
149 } | 148 } |
150 | 149 |
151 } | 150 } |
OLD | NEW |