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

Unified Diff: third_party/WebKit/Source/core/paint/ObjectPaintInvalidator.cpp

Issue 2517653002: Convert a few more CFI blacklist entries into DISABLE_CFI_PERF attributes. (Closed)
Patch Set: Revert some of the changes which have a high risk of breaking things Created 4 years, 1 month 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/paint/ObjectPaintInvalidator.cpp
diff --git a/third_party/WebKit/Source/core/paint/ObjectPaintInvalidator.cpp b/third_party/WebKit/Source/core/paint/ObjectPaintInvalidator.cpp
index 11c906d5c32caa9df58cc0f0c002a7b2d1982d47..9cebe81ecfc6087971832b0bf4bc4cf35ac9d083 100644
--- a/third_party/WebKit/Source/core/paint/ObjectPaintInvalidator.cpp
+++ b/third_party/WebKit/Source/core/paint/ObjectPaintInvalidator.cpp
@@ -428,6 +428,7 @@ void ObjectPaintInvalidatorWithContext::fullyInvalidatePaint(
newVisualRect, reason);
}
+DISABLE_CFI_PERF
PaintInvalidationReason
ObjectPaintInvalidatorWithContext::computePaintInvalidationReason() {
// This is before any early return to ensure the background obscuration status
@@ -496,6 +497,7 @@ ObjectPaintInvalidatorWithContext::computePaintInvalidationReason() {
return PaintInvalidationNone;
}
+DISABLE_CFI_PERF
void ObjectPaintInvalidatorWithContext::invalidateSelectionIfNeeded(
PaintInvalidationReason reason) {
// Update selection rect when we are doing full invalidation (in case that the
@@ -529,6 +531,7 @@ void ObjectPaintInvalidatorWithContext::invalidateSelectionIfNeeded(
}
}
+DISABLE_CFI_PERF
PaintInvalidationReason
ObjectPaintInvalidatorWithContext::invalidatePaintIfNeededWithComputedReason(
PaintInvalidationReason reason) {
« no previous file with comments | « third_party/WebKit/Source/core/paint/BoxClipper.cpp ('k') | third_party/WebKit/Source/platform/graphics/ContiguousContainer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698