Index: third_party/WebKit/Source/core/events/Event.cpp |
diff --git a/third_party/WebKit/Source/core/events/Event.cpp b/third_party/WebKit/Source/core/events/Event.cpp |
index 75354650ffca4cc03ee2ca562fd5c8d137d1b14a..5bb40cf6782233afe68430b2b7f2295f399cd779 100644 |
--- a/third_party/WebKit/Source/core/events/Event.cpp |
+++ b/third_party/WebKit/Source/core/events/Event.cpp |
@@ -326,18 +326,6 @@ EventDispatchMediator* Event::createMediator() |
return EventDispatchMediator::create(this); |
} |
-EventTarget* Event::currentTarget() const |
-{ |
- if (!m_currentTarget) |
- return nullptr; |
- Node* node = m_currentTarget->toNode(); |
- if (node && node->isSVGElement()) { |
- if (SVGElement* svgElement = toSVGElement(node)->correspondingElement()) |
- return svgElement; |
- } |
- return m_currentTarget.get(); |
-} |
- |
double Event::timeStamp(ScriptState* scriptState) const |
{ |
double timeStamp = 0; |