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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutObject.cpp

Issue 2332053002: Add DISABLE_CFI_PERF attribute on the methods with CFI checks disabled. (Closed)
Patch Set: LayoutObject, LayoutObjectChildList 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/layout/LayoutObject.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.cpp b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
index 51f58eabc5f11ddc15005eb46c495e147734bdcf..e3134de1ce374b229a711976324a1d1ae444e9fd 100644
--- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
@@ -303,6 +303,7 @@ bool LayoutObject::requiresAnonymousTableWrappers(const LayoutObject* newChild)
return false;
}
+DISABLE_CFI_PERF
void LayoutObject::addChild(LayoutObject* newChild, LayoutObject* beforeChild)
{
ASSERT(isAllowedToModifyLayoutTreeStructure(document()));
@@ -1146,6 +1147,7 @@ void LayoutObject::invalidateTreeIfNeeded(const PaintInvalidationState& paintInv
invalidatePaintOfSubtreesIfNeeded(newPaintInvalidationState);
}
+DISABLE_CFI_PERF
void LayoutObject::invalidatePaintOfSubtreesIfNeeded(const PaintInvalidationState& childPaintInvalidationState)
{
for (LayoutObject* child = slowFirstChild(); child; child = child->nextSibling()) {
@@ -1204,6 +1206,7 @@ PaintInvalidationReason LayoutObject::invalidatePaintIfNeeded(const PaintInvalid
return invalidatePaintIfNeeded(context);
}
+DISABLE_CFI_PERF
PaintInvalidationReason LayoutObject::invalidatePaintIfNeeded(const PaintInvalidatorContext& context) const
{
return ObjectPaintInvalidatorWithContext(*this, context).invalidatePaintIfNeeded();
@@ -1560,6 +1563,7 @@ void LayoutObject::setNeedsOverflowRecalcAfterStyleChange()
markAncestorsForOverflowRecalcIfNeeded();
}
+DISABLE_CFI_PERF
void LayoutObject::setStyle(PassRefPtr<ComputedStyle> style)
{
ASSERT(style);
@@ -2404,6 +2408,7 @@ void LayoutObject::willBeDestroyed()
setIsBackgroundAttachmentFixedObject(false);
}
+DISABLE_CFI_PERF
void LayoutObject::insertedIntoTree()
{
// FIXME: We should ASSERT(isRooted()) here but generated content makes some out-of-order insertion.
@@ -2576,6 +2581,7 @@ void LayoutObject::destroy()
delete this;
}
+DISABLE_CFI_PERF
void LayoutObject::removeShapeImageClient(ShapeValue* shapeValue)
{
if (!shapeValue)
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutObject.h ('k') | third_party/WebKit/Source/core/layout/LayoutObjectChildList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698