Index: third_party/WebKit/Source/core/svg/SVGLengthTearOff.cpp |
diff --git a/third_party/WebKit/Source/core/svg/SVGLengthTearOff.cpp b/third_party/WebKit/Source/core/svg/SVGLengthTearOff.cpp |
index 2a29c263e215892c5538e0e61a955c9825476743..9145a353e798c42c2625fc38ea29165005bf4d7f 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGLengthTearOff.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGLengthTearOff.cpp |
@@ -244,6 +244,11 @@ SVGLengthTearOff::SVGLengthTearOff(SVGLength* target, |
property_is_anim_val, |
attribute_name) {} |
+SVGLengthTearOff* SVGLengthTearOff::CreateDetached() { |
+ return Create(SVGLength::Create(), nullptr, kPropertyIsNotAnimVal, |
+ QualifiedName::Null()); |
+} |
+ |
DEFINE_TRACE_WRAPPERS(SVGLengthTearOff) { |
visitor->TraceWrappers(contextElement()); |
} |