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

Unified Diff: third_party/WebKit/Source/core/events/EventTarget.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
« no previous file with comments | « third_party/WebKit/Source/core/dom/Node.cpp ('k') | third_party/WebKit/Source/core/html/HTMLCollection.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/events/EventTarget.h
diff --git a/third_party/WebKit/Source/core/events/EventTarget.h b/third_party/WebKit/Source/core/events/EventTarget.h
index 95dfceb109f306821fabfcf623aa820fae4e0c09..b4d45584a795a2063fcb8ba63cec2edbb153fbcc 100644
--- a/third_party/WebKit/Source/core/events/EventTarget.h
+++ b/third_party/WebKit/Source/core/events/EventTarget.h
@@ -244,6 +244,7 @@ private:
EventListener* on##attribute() { return getAttributeEventListener(EventTypeNames::eventName); } \
void setOn##attribute(EventListener* listener) { setAttributeEventListener(EventTypeNames::eventName, listener); } \
+DISABLE_CFI_PERF
inline bool EventTarget::hasEventListeners() const
{
// FIXME: We should have a const version of eventTargetData.
@@ -252,6 +253,7 @@ inline bool EventTarget::hasEventListeners() const
return false;
}
+DISABLE_CFI_PERF
inline bool EventTarget::hasEventListeners(const AtomicString& eventType) const
{
// FIXME: We should have const version of eventTargetData.
« no previous file with comments | « third_party/WebKit/Source/core/dom/Node.cpp ('k') | third_party/WebKit/Source/core/html/HTMLCollection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698