Index: third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp |
diff --git a/third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp b/third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp |
index c4c837b671169bfb69275e7cf0c9a2cef2cd12ae..de265523670001da9c92d5122c5bc6ba57531c91 100644 |
--- a/third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp |
+++ b/third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp |
@@ -177,16 +177,6 @@ const CSSPropertyID computedPropertyArray[] = { |
CSSPropertyScrollSnapDestination, CSSPropertyTranslate, CSSPropertyRotate, |
CSSPropertyScale, CSSPropertyCaretColor}; |
-const Vector<CSSPropertyID>& computableProperties() { |
- DEFINE_STATIC_LOCAL(Vector<CSSPropertyID>, properties, ()); |
- if (properties.isEmpty()) { |
- CSSPropertyMetadata::filterEnabledCSSPropertiesIntoVector( |
- computedPropertyArray, WTF_ARRAY_LENGTH(computedPropertyArray), |
- properties); |
- } |
- return properties; |
-} |
- |
CSSValueID cssIdentifierForFontSizeKeyword(int keywordSize) { |
DCHECK_NE(keywordSize, 0); |
DCHECK_LE(keywordSize, 8); |
@@ -277,6 +267,17 @@ bool isLayoutDependent(CSSPropertyID propertyID, |
} // namespace |
+const Vector<CSSPropertyID>& |
+CSSComputedStyleDeclaration::computableProperties() { |
+ DEFINE_STATIC_LOCAL(Vector<CSSPropertyID>, properties, ()); |
+ if (properties.isEmpty()) { |
+ CSSPropertyMetadata::filterEnabledCSSPropertiesIntoVector( |
+ computedPropertyArray, WTF_ARRAY_LENGTH(computedPropertyArray), |
+ properties); |
+ } |
+ return properties; |
+} |
+ |
CSSComputedStyleDeclaration::CSSComputedStyleDeclaration( |
Node* n, |
bool allowVisitedStyle, |