| Index: third_party/WebKit/Source/core/svg/SVGElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGElement.cpp b/third_party/WebKit/Source/core/svg/SVGElement.cpp
|
| index 984539f47bcc5bd9cb86ce58dddaacd2e0207bfc..37a37e0ad1a7a82b31d576e1a4710d956d3b71cc 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGElement.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/SVGElement.cpp
|
| @@ -748,7 +748,7 @@ bool SVGElement::addEventListenerInternal(const AtomicString& eventType, EventLi
|
| return true;
|
| }
|
|
|
| -bool SVGElement::removeEventListenerInternal(const AtomicString& eventType, EventListener* listener, const EventListenerOptions& options)
|
| +bool SVGElement::removeEventListenerInternal(const AtomicString& eventType, const EventListener* listener, const EventListenerOptions& options)
|
| {
|
| // Remove event listener from regular DOM element
|
| if (!Node::removeEventListenerInternal(eventType, listener, options))
|
| @@ -776,7 +776,7 @@ static bool hasLoadListener(Element* element)
|
| if (!entry)
|
| continue;
|
| for (size_t i = 0; i < entry->size(); ++i) {
|
| - if (entry->at(i).useCapture)
|
| + if (entry->at(i).capture())
|
| return true;
|
| }
|
| }
|
|
|