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

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

Issue 2336103003: Convert a few more CFI blacklist entries into DISABLE_CFI_PERF attributes. (Closed)
Patch Set: Created 4 years, 3 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
Index: third_party/WebKit/Source/core/dom/Element.cpp
diff --git a/third_party/WebKit/Source/core/dom/Element.cpp b/third_party/WebKit/Source/core/dom/Element.cpp
index 9413e11c80503879e1f35e758ba316ad110329ec..e41b03f667de2604ba24fc96eb6844a05e74d242 100644
--- a/third_party/WebKit/Source/core/dom/Element.cpp
+++ b/third_party/WebKit/Source/core/dom/Element.cpp
@@ -1173,6 +1173,7 @@ static inline AtomicString makeIdForStyleResolution(const AtomicString& value, b
return value;
}
+DISABLE_CFI_PERF
void Element::attributeChanged(const QualifiedName& name, const AtomicString& oldValue, const AtomicString& newValue, AttributeModificationReason reason)
{
if (ElementShadow* parentElementShadow = shadowWhereNodeCanBeDistributedForV0(*this)) {
@@ -3296,6 +3297,7 @@ void Element::willModifyAttribute(const QualifiedName& name, const AtomicString&
InspectorInstrumentation::willModifyDOMAttr(this, oldValue, newValue);
}
+DISABLE_CFI_PERF
void Element::didAddAttribute(const QualifiedName& name, const AtomicString& value)
{
if (name == HTMLNames::idAttr)
« no previous file with comments | « third_party/WebKit/Source/core/dom/ContainerNode.cpp ('k') | third_party/WebKit/Source/core/dom/LayoutTreeBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698