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

Unified Diff: third_party/WebKit/Source/core/paint/BlockPainter.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/BlockPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/BlockPainter.cpp b/third_party/WebKit/Source/core/paint/BlockPainter.cpp
index c8f5684283f6504be0c1c3d04965372219b162aa..18a0c334946fd12ac48a84d9b40eeabdf98505d7 100644
--- a/third_party/WebKit/Source/core/paint/BlockPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/BlockPainter.cpp
@@ -27,6 +27,7 @@
namespace blink {
+DISABLE_CFI_PERF
void BlockPainter::paint(const PaintInfo& paintInfo,
const LayoutPoint& paintOffset) {
ObjectPainter(m_layoutBlock).checkPaintOffset(paintInfo, paintOffset);
@@ -163,6 +164,7 @@ void BlockPainter::paintInlineBox(const InlineBox& inlineBox,
.paintAllPhasesAtomically(paintInfo, childPoint);
}
+DISABLE_CFI_PERF
void BlockPainter::paintObject(const PaintInfo& paintInfo,
const LayoutPoint& paintOffset) {
const PaintPhase paintPhase = paintInfo.phase;
@@ -262,6 +264,7 @@ void BlockPainter::paintCarets(const PaintInfo& paintInfo,
frame, paintInfo.context, paintOffset);
}
+DISABLE_CFI_PERF
bool BlockPainter::intersectsPaintRect(
const PaintInfo& paintInfo,
const LayoutPoint& adjustedPaintOffset) const {
« no previous file with comments | « third_party/WebKit/Source/core/page/PageAnimator.cpp ('k') | third_party/WebKit/Source/core/paint/BoxClipper.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698