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

Unified Diff: third_party/WebKit/Source/core/dom/Node.h

Issue 2336103003: Convert a few more CFI blacklist entries into DISABLE_CFI_PERF attributes. (Closed)
Patch Set: 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/dom/Node.h
diff --git a/third_party/WebKit/Source/core/dom/Node.h b/third_party/WebKit/Source/core/dom/Node.h
index 42650c6b2bf21868317c5596976eacef2459fc18..86a3aab569ce1ec0d185c8a768a353d2ba002f60 100644
--- a/third_party/WebKit/Source/core/dom/Node.h
+++ b/third_party/WebKit/Source/core/dom/Node.h
@@ -251,10 +251,10 @@ public:
bool isHTMLElement() const { return getFlag(IsHTMLFlag); }
bool isSVGElement() const { return getFlag(IsSVGFlag); }
- bool isPseudoElement() const { return getPseudoId() != PseudoIdNone; }
- bool isBeforePseudoElement() const { return getPseudoId() == PseudoIdBefore; }
- bool isAfterPseudoElement() const { return getPseudoId() == PseudoIdAfter; }
- bool isFirstLetterPseudoElement() const { return getPseudoId() == PseudoIdFirstLetter; }
+ DISABLE_CFI_PERF bool isPseudoElement() const { return getPseudoId() != PseudoIdNone; }
+ DISABLE_CFI_PERF bool isBeforePseudoElement() const { return getPseudoId() == PseudoIdBefore; }
+ DISABLE_CFI_PERF bool isAfterPseudoElement() const { return getPseudoId() == PseudoIdAfter; }
+ DISABLE_CFI_PERF bool isFirstLetterPseudoElement() const { return getPseudoId() == PseudoIdFirstLetter; }
virtual PseudoId getPseudoId() const { return PseudoIdNone; }
CustomElementState getCustomElementState() const { return static_cast<CustomElementState>(m_nodeFlags & CustomElementStateMask); }
« no previous file with comments | « third_party/WebKit/Source/core/dom/LayoutTreeBuilder.cpp ('k') | third_party/WebKit/Source/core/dom/Node.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698