| Index: third_party/WebKit/Source/core/css/CSSValuePool.h
|
| diff --git a/third_party/WebKit/Source/core/css/CSSValuePool.h b/third_party/WebKit/Source/core/css/CSSValuePool.h
|
| index 46a823349bf3616943c3a32205b5440353e166a2..8c366ccafeeff9dec24fbfe8525cc9fdfa4d0762 100644
|
| --- a/third_party/WebKit/Source/core/css/CSSValuePool.h
|
| +++ b/third_party/WebKit/Source/core/css/CSSValuePool.h
|
| @@ -32,6 +32,7 @@
|
| #include "core/css/CSSColorValue.h"
|
| #include "core/css/CSSCustomIdentValue.h"
|
| #include "core/css/CSSFontFamilyValue.h"
|
| +#include "core/css/CSSIdentifierValue.h"
|
| #include "core/css/CSSInheritedValue.h"
|
| #include "core/css/CSSInitialValue.h"
|
| #include "core/css/CSSPrimitiveValue.h"
|
| @@ -63,9 +64,9 @@ public:
|
| CSSInitialValue* explicitInitialValue() { return m_explicitInitialValue; }
|
| CSSUnsetValue* unsetValue() { return m_unsetValue; }
|
|
|
| - // CSSPrimitiveValue vector caches.
|
| - CSSPrimitiveValue* identifierCacheValue(CSSValueID ident) { return m_identifierValueCache[ident]; }
|
| - CSSPrimitiveValue* setIdentifierCacheValue(CSSValueID ident, CSSPrimitiveValue* cssValue) { return m_identifierValueCache[ident] = cssValue; }
|
| + // Vector caches.
|
| + CSSIdentifierValue* identifierCacheValue(CSSValueID ident) { return m_identifierValueCache[ident]; }
|
| + CSSIdentifierValue* setIdentifierCacheValue(CSSValueID ident, CSSIdentifierValue* cssValue) { return m_identifierValueCache[ident] = cssValue; }
|
| CSSPrimitiveValue* pixelCacheValue(int intValue) { return m_pixelValueCache[intValue]; }
|
| CSSPrimitiveValue* setPixelCacheValue(int intValue, CSSPrimitiveValue* cssValue) { return m_pixelValueCache[intValue] = cssValue; }
|
| CSSPrimitiveValue* percentCacheValue(int intValue) { return m_percentValueCache[intValue]; }
|
| @@ -107,8 +108,8 @@ private:
|
| Member<CSSColorValue> m_colorWhite;
|
| Member<CSSColorValue> m_colorBlack;
|
|
|
| - // CSSPrimitiveValue vector caches.
|
| - HeapVector<Member<CSSPrimitiveValue>, numCSSValueKeywords> m_identifierValueCache;
|
| + // Vector caches.
|
| + HeapVector<Member<CSSIdentifierValue>, numCSSValueKeywords> m_identifierValueCache;
|
| HeapVector<Member<CSSPrimitiveValue>, maximumCacheableIntegerValue + 1> m_pixelValueCache;
|
| HeapVector<Member<CSSPrimitiveValue>, maximumCacheableIntegerValue + 1> m_percentValueCache;
|
| HeapVector<Member<CSSPrimitiveValue>, maximumCacheableIntegerValue + 1> m_numberValueCache;
|
|
|