Index: third_party/WebKit/Source/core/dom/ElementData.cpp |
diff --git a/third_party/WebKit/Source/core/dom/ElementData.cpp b/third_party/WebKit/Source/core/dom/ElementData.cpp |
index 29dc6f308c55c2a9ebe9001699b42969e389556e..f316a12573a0a6d9ab6bd98210359da224f8b592 100644 |
--- a/third_party/WebKit/Source/core/dom/ElementData.cpp |
+++ b/third_party/WebKit/Source/core/dom/ElementData.cpp |
@@ -50,6 +50,18 @@ static size_t sizeForShareableElementDataWithAttributeCount(unsigned count) |
return sizeof(ShareableElementData) + sizeof(Attribute) * count; |
} |
+const StylePropertySet* ElementData::inlineStyle() const |
+{ |
+ return m_inlineStyle.get(); |
+} |
+ |
+const StylePropertySet* ElementData::presentationAttributeStyle() const |
+{ |
+ if (!m_isUnique) |
+ return nullptr; |
+ return toUniqueElementData(this)->m_presentationAttributeStyle.get(); |
+} |
+ |
ElementData::ElementData() |
: m_isUnique(true) |
, m_arraySize(0) |