Lines Matching refs:targetNode
2550 static inline bool tryAddEventListener(Node* targetNode, const AtomicString& eventType, PassRefPtr<EventListener> listener, bool useCapture)
2552 if (!targetNode->EventTarget::addEventListener(eventType, listener, useCapture))
2555 if (Document* document = targetNode->document())
2595 static inline bool tryRemoveEventListener(Node* targetNode, const AtomicString& eventType, EventListener* listener, bool useCapture)
2597 if (!targetNode->EventTarget::removeEventListener(eventType, listener, useCapture))