| Index: third_party/WebKit/Source/core/css/cssom/ComputedStylePropertyMap.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/cssom/ComputedStylePropertyMap.cpp b/third_party/WebKit/Source/core/css/cssom/ComputedStylePropertyMap.cpp
|
| index 08a1031587f3dfe7bfc1eefcc28a209a0e487d06..f0cbe2b848f31f97e7f9beb71db0ff6bce653295 100644
|
| --- a/third_party/WebKit/Source/core/css/cssom/ComputedStylePropertyMap.cpp
|
| +++ b/third_party/WebKit/Source/core/css/cssom/ComputedStylePropertyMap.cpp
|
| @@ -9,7 +9,7 @@
|
|
|
| namespace blink {
|
|
|
| -CSSStyleValueVector ComputedStylePropertyMap::getAll(CSSPropertyID propertyID)
|
| +CSSStyleValueVector ComputedStylePropertyMap::getAllInternal(CSSPropertyID propertyID)
|
| {
|
| const CSSValue* cssValue = m_computedStyleDeclaration->getPropertyCSSValueInternal(propertyID);
|
| if (!cssValue)
|
| @@ -17,6 +17,14 @@ CSSStyleValueVector ComputedStylePropertyMap::getAll(CSSPropertyID propertyID)
|
| return StyleValueFactory::cssValueToStyleValueVector(propertyID, *cssValue);
|
| }
|
|
|
| +CSSStyleValueVector ComputedStylePropertyMap::getAllInternal(AtomicString customPropertyName)
|
| +{
|
| + const CSSValue* cssValue = m_computedStyleDeclaration->getPropertyCSSValueInternal(customPropertyName);
|
| + if (!cssValue)
|
| + return CSSStyleValueVector();
|
| + return StyleValueFactory::cssValueToStyleValueVector(CSSPropertyInvalid, *cssValue);
|
| +}
|
| +
|
| Vector<String> ComputedStylePropertyMap::getProperties()
|
| {
|
| Vector<String> result;
|
|
|