Index: third_party/WebKit/Source/bindings/core/v8/V8LazyEventListener.h |
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8LazyEventListener.h b/third_party/WebKit/Source/bindings/core/v8/V8LazyEventListener.h |
index 576e9c0ffff2f223818959b4d29468b9b385660a..59e8997455a02651ba6c2ecac7c32c9ac0eb6705 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/V8LazyEventListener.h |
+++ b/third_party/WebKit/Source/bindings/core/v8/V8LazyEventListener.h |
@@ -66,12 +66,6 @@ private: |
v8::Local<v8::Value> callListenerFunction(ScriptState*, v8::Local<v8::Value>, Event*) override; |
- // Needs to return true for all event handlers implemented in JavaScript so that |
- // the SVG code does not add the event handler in both |
- // SVGUseElement::buildShadowTree and again in |
- // SVGUseElement::transferEventListenersToShadowTree |
- bool wasCreatedFromMarkup() const override { return true; } |
- |
void compileScript(ScriptState*, ExecutionContext*); |
void fireErrorEvent(v8::Local<v8::Context>, ExecutionContext*, v8::Local<v8::Message>); |