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

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

Issue 2419663009: Convert a few more CFI blacklist entries into DISABLE_CFI_PERF attributes. (Closed)
Patch Set: Created 4 years, 2 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/LayoutBox.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.cpp b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
index a240f8a112be65e8281829b5e91e3cc0048964ac..93286190a7d2cb62a7513d1d3ab4bdf5a5af3ce2 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
@@ -4668,6 +4668,7 @@ bool LayoutBox::shrinkToAvoidFloats() const {
return style()->width().isAuto();
}
+DISABLE_CFI_PERF
static bool shouldBeConsideredAsReplaced(Node* node) {
// Checkboxes and radioboxes are not isAtomicInlineLevel() nor do they have
// their own layoutObject in which to override avoidFloats().

Powered by Google App Engine
This is Rietveld 408576698