| Index: third_party/WebKit/Source/core/dom/ElementData.h
|
| diff --git a/third_party/WebKit/Source/core/dom/ElementData.h b/third_party/WebKit/Source/core/dom/ElementData.h
|
| index 0dbbf049d483a482118f0162eff9e74bcf31b50f..f31a0940dfb1f6813ef706183fcd9105c58c19f9 100644
|
| --- a/third_party/WebKit/Source/core/dom/ElementData.h
|
| +++ b/third_party/WebKit/Source/core/dom/ElementData.h
|
| @@ -66,7 +66,7 @@ public:
|
| const AtomicString& idForStyleResolution() const { return m_idForStyleResolution; }
|
| void setIdForStyleResolution(const AtomicString& newId) const { m_idForStyleResolution = newId; }
|
|
|
| - const StylePropertySet* inlineStyle() const;
|
| + const StylePropertySet* inlineStyle() const { return m_inlineStyle.get(); }
|
|
|
| const StylePropertySet* presentationAttributeStyle() const;
|
|
|
| @@ -194,6 +194,13 @@ inline void ElementData::deref()
|
| }
|
| #endif
|
|
|
| +inline const StylePropertySet* ElementData::presentationAttributeStyle() const
|
| +{
|
| + if (!m_isUnique)
|
| + return 0;
|
| + return toUniqueElementData(this)->m_presentationAttributeStyle.get();
|
| +}
|
| +
|
| inline AttributeCollection ElementData::attributes() const
|
| {
|
| if (isUnique())
|
|
|