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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutGrid.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/LayoutGrid.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutGrid.cpp b/third_party/WebKit/Source/core/layout/LayoutGrid.cpp
index c76dd7d4fd35df8cd800ba1964120a2db2a3be4e..ca14aeff9b93817a2eedc77a67d613ba67efaaf6 100644
--- a/third_party/WebKit/Source/core/layout/LayoutGrid.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutGrid.cpp
@@ -1001,6 +1001,7 @@ bool LayoutGrid::updateOverrideContainingBlockContentSizeForChild(LayoutBox& chi
return true;
}
+DISABLE_CFI_PERF
LayoutUnit LayoutGrid::minContentForChild(LayoutBox& child, GridTrackSizingDirection direction, GridSizingData& sizingData) const
{
GridTrackSizingDirection childInlineDirection = flowAwareDirectionForChild(child, ForColumns);
@@ -1030,6 +1031,7 @@ LayoutUnit LayoutGrid::minContentForChild(LayoutBox& child, GridTrackSizingDirec
return logicalHeightForChild(child, sizingData);
}
+DISABLE_CFI_PERF
LayoutUnit LayoutGrid::maxContentForChild(LayoutBox& child, GridTrackSizingDirection direction, GridSizingData& sizingData) const
{
GridTrackSizingDirection childInlineDirection = flowAwareDirectionForChild(child, ForColumns);
@@ -2292,6 +2294,7 @@ bool LayoutGrid::hasAutoMarginsInRowAxis(const LayoutBox& child) const
}
// TODO(lajava): This logic is shared by LayoutFlexibleBox, so it should be moved to LayoutBox.
+DISABLE_CFI_PERF
void LayoutGrid::updateAutoMarginsInRowAxisIfNeeded(LayoutBox& child)
{
ASSERT(!child.isOutOfFlowPositioned());
@@ -2313,6 +2316,7 @@ void LayoutGrid::updateAutoMarginsInRowAxisIfNeeded(LayoutBox& child)
}
// TODO(lajava): This logic is shared by LayoutFlexibleBox, so it should be moved to LayoutBox.
+DISABLE_CFI_PERF
void LayoutGrid::updateAutoMarginsInColumnAxisIfNeeded(LayoutBox& child)
{
ASSERT(!child.isOutOfFlowPositioned());
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutFlexibleBox.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutObject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698