| 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 3226de50f813870b89433d27506dbdecfb13ded2..6237fe39d2e88ba5eeaf7085d3f4f983346d4945 100644
|
| --- a/third_party/WebKit/Source/core/dom/Element.h
|
| +++ b/third_party/WebKit/Source/core/dom/Element.h
|
| @@ -275,6 +275,7 @@ public:
|
|
|
| virtual const StylePropertySet* additionalPresentationAttributeStyle() { return nullptr; }
|
| void invalidateStyleAttribute();
|
| + void setExtensionAttribution(int extensionWorld);
|
|
|
| const StylePropertySet* inlineStyle() const { return elementData() ? elementData()->m_inlineStyle.get() : nullptr; }
|
|
|
| @@ -549,6 +550,8 @@ public:
|
| void logAddElementIfIsolatedWorldAndInDocument(const char element[], const QualifiedName& attr1, const QualifiedName& attr2, const QualifiedName& attr3);
|
| void logUpdateAttributeIfIsolatedWorldAndInDocument(const char element[], const QualifiedName& attributeName, const AtomicString& oldValue, const AtomicString& newValue);
|
|
|
| + void taintElementIfFromIsolatedWorld();
|
| +
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
| SpellcheckAttributeState spellcheckAttributeState() const;
|
| @@ -700,6 +703,8 @@ private:
|
| v8::Local<v8::Object> wrapCustomElement(v8::Isolate*, v8::Local<v8::Object> creationContext);
|
|
|
| RefPtrWillBeMember<ElementData> m_elementData;
|
| +
|
| + int m_extensionOrigin;
|
| };
|
|
|
| DEFINE_NODE_TYPE_CASTS(Element, isElementNode());
|
| @@ -867,6 +872,12 @@ inline void Element::invalidateStyleAttribute()
|
| elementData()->m_styleAttributeIsDirty = true;
|
| }
|
|
|
| +inline void Element::setExtensionAttribution(int extensionWorld)
|
| +{
|
| + ASSERT(elementData());
|
| + m_extensionOrigin = extensionWorld;
|
| +}
|
| +
|
| inline const StylePropertySet* Element::presentationAttributeStyle()
|
| {
|
| if (!elementData())
|
|
|