Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(156)

Unified Diff: third_party/WebKit/Source/core/dom/Element.h

Issue 1561663003: CL for perf tryjob on win (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.cpp ('k') | third_party/WebKit/Source/core/dom/Element.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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())
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.cpp ('k') | third_party/WebKit/Source/core/dom/Element.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698