Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(335)

Unified Diff: third_party/WebKit/Source/core/svg/SVGTransformTearOff.h

Issue 2912663002: Clean up creation of "detached" SVG* data type objects (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/svg/SVGTransformTearOff.h
diff --git a/third_party/WebKit/Source/core/svg/SVGTransformTearOff.h b/third_party/WebKit/Source/core/svg/SVGTransformTearOff.h
index 1e6da2703284192c2e1e476038de8ee9f1d75dd1..f200e7d16afecd4702187b9d27071e79c3ada5d8 100644
--- a/third_party/WebKit/Source/core/svg/SVGTransformTearOff.h
+++ b/third_party/WebKit/Source/core/svg/SVGTransformTearOff.h
@@ -55,14 +55,14 @@ class SVGTransformTearOff final : public SVGPropertyTearOff<SVGTransform>,
kSvgTransformSkewy = blink::kSvgTransformSkewy,
};
- static SVGTransformTearOff* Create(
- SVGTransform* target,
- SVGElement* context_element,
- PropertyIsAnimValType property_is_anim_val,
- const QualifiedName& attribute_name = QualifiedName::Null()) {
+ static SVGTransformTearOff* Create(SVGTransform* target,
+ SVGElement* context_element,
+ PropertyIsAnimValType property_is_anim_val,
+ const QualifiedName& attribute_name) {
return new SVGTransformTearOff(target, context_element,
property_is_anim_val, attribute_name);
}
+ static SVGTransformTearOff* CreateDetached();
static SVGTransformTearOff* Create(SVGMatrixTearOff*);
~SVGTransformTearOff() override;

Powered by Google App Engine
This is Rietveld 408576698