| Index: third_party/WebKit/Source/core/dom/Element.h
|
| diff --git a/third_party/WebKit/Source/core/dom/Element.h b/third_party/WebKit/Source/core/dom/Element.h
|
| index 240ec279fd27930c3ebc18d8a715b73653b1d06e..a80f29b6c68c2aabadac1e80eae1d107c121875c 100644
|
| --- a/third_party/WebKit/Source/core/dom/Element.h
|
| +++ b/third_party/WebKit/Source/core/dom/Element.h
|
| @@ -68,6 +68,7 @@ class ScrollToOptions;
|
| class ShadowRoot;
|
| class ShadowRootInit;
|
| class StylePropertySet;
|
| +class StylePropertyMap;
|
|
|
| enum SpellcheckAttributeState {
|
| SpellcheckAttributeTrue,
|
| @@ -244,6 +245,7 @@ public:
|
| AttrNodeList* attrNodeList();
|
|
|
| CSSStyleDeclaration* style();
|
| + StylePropertyMap* styleMap();
|
|
|
| const QualifiedName& tagQName() const { return m_tagName; }
|
| String tagName() const { return nodeName(); }
|
| @@ -282,6 +284,8 @@ public:
|
| bool setInlineStyleProperty(CSSPropertyID, CSSValueID identifier, bool important = false);
|
| bool setInlineStyleProperty(CSSPropertyID, double value, CSSPrimitiveValue::UnitType, bool important = false);
|
| bool setInlineStyleProperty(CSSPropertyID, const String& value, bool important = false);
|
| + bool setInlineStyleProperty(CSSPropertyID, const PassRefPtrWillBeRawPtr<CSSValue>, bool important = false);
|
| +
|
| bool removeInlineStyleProperty(CSSPropertyID);
|
| void removeAllInlineStyleProperties();
|
|
|
| @@ -703,6 +707,8 @@ private:
|
|
|
| v8::Local<v8::Object> wrapCustomElement(v8::Isolate*, v8::Local<v8::Object> creationContext);
|
|
|
| + void invalidateInlineStylePropertyMap();
|
| +
|
| RefPtrWillBeMember<ElementData> m_elementData;
|
| };
|
|
|
| @@ -869,6 +875,7 @@ inline void Element::invalidateStyleAttribute()
|
| {
|
| ASSERT(elementData());
|
| elementData()->m_styleAttributeIsDirty = true;
|
| + invalidateInlineStylePropertyMap();
|
| }
|
|
|
| inline const StylePropertySet* Element::presentationAttributeStyle()
|
|
|