Index: third_party/WebKit/Source/core/svg/SVGRectTearOff.cpp |
diff --git a/third_party/WebKit/Source/core/svg/SVGRectTearOff.cpp b/third_party/WebKit/Source/core/svg/SVGRectTearOff.cpp |
index 29d6e692a6a6c45c5f44428bcce544d732c0b3a3..14820d6d5ef5e539246914b4cfcb79433e96bf1a 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGRectTearOff.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGRectTearOff.cpp |
@@ -79,6 +79,11 @@ void SVGRectTearOff::setHeight(float f, ExceptionState& exception_state) { |
CommitChange(); |
} |
+SVGRectTearOff* SVGRectTearOff::CreateDetached(const FloatRect& rect) { |
+ return Create(SVGRect::Create(rect), nullptr, kPropertyIsNotAnimVal, |
+ QualifiedName::Null()); |
+} |
+ |
DEFINE_TRACE_WRAPPERS(SVGRectTearOff) { |
visitor->TraceWrappers(contextElement()); |
} |