| Index: third_party/WebKit/Source/core/css/cssom/InlineStylePropertyMap.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/cssom/InlineStylePropertyMap.cpp b/third_party/WebKit/Source/core/css/cssom/InlineStylePropertyMap.cpp
|
| index e03b2bf3624bf4288b0638d057316820672eac1e..215887e5eeffbbc952ce234576e62f4eddd24744 100644
|
| --- a/third_party/WebKit/Source/core/css/cssom/InlineStylePropertyMap.cpp
|
| +++ b/third_party/WebKit/Source/core/css/cssom/InlineStylePropertyMap.cpp
|
| @@ -27,7 +27,7 @@ CSSValue* styleValueToCSSValue(CSSPropertyID propertyID, const CSSStyleValue& st
|
|
|
| } // namespace
|
|
|
| -CSSStyleValueVector InlineStylePropertyMap::getAll(CSSPropertyID propertyID)
|
| +CSSStyleValueVector InlineStylePropertyMap::getAllInternal(CSSPropertyID propertyID)
|
| {
|
| CSSValue* cssValue = m_ownerElement->ensureMutableInlineStyle().getPropertyCSSValue(propertyID);
|
| if (!cssValue)
|
| @@ -36,6 +36,15 @@ CSSStyleValueVector InlineStylePropertyMap::getAll(CSSPropertyID propertyID)
|
| return StyleValueFactory::cssValueToStyleValueVector(propertyID, *cssValue);
|
| }
|
|
|
| +CSSStyleValueVector InlineStylePropertyMap::getAllInternal(AtomicString customPropertyName)
|
| +{
|
| + CSSValue* cssValue = m_ownerElement->ensureMutableInlineStyle().getPropertyCSSValue(customPropertyName);
|
| + if (!cssValue)
|
| + return CSSStyleValueVector();
|
| +
|
| + return StyleValueFactory::cssValueToStyleValueVector(CSSPropertyInvalid, *cssValue);
|
| +}
|
| +
|
| Vector<String> InlineStylePropertyMap::getProperties()
|
| {
|
| Vector<String> result;
|
|
|