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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutBoxModelObject.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/LayoutBoxModelObject.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
index 42d892dd367d2a454f08025111dec1f13beaf0a9..c3265e56edb03eac041746eb32ac66d260c8c6c7 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
@@ -232,6 +232,7 @@ void LayoutBoxModelObject::styleWillChange(StyleDifference diff, const ComputedS
LayoutObject::styleWillChange(diff, newStyle);
}
+DISABLE_CFI_PERF
void LayoutBoxModelObject::styleDidChange(StyleDifference diff, const ComputedStyle* oldStyle)
{
bool hadTransform = hasTransformRelatedProperty();
@@ -437,6 +438,7 @@ static bool hasPercentageTransform(const ComputedStyle& style)
|| (style.transformOriginY() != Length(50, Percent) && style.transformOriginY().isPercentOrCalc());
}
+DISABLE_CFI_PERF
void LayoutBoxModelObject::invalidateTreeIfNeeded(const PaintInvalidationState& paintInvalidationState)
{
ensureIsReadyForPaintInvalidation();

Powered by Google App Engine
This is Rietveld 408576698