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

Unified Diff: third_party/WebKit/Source/core/svg/SVGAngleTearOff.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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/svg/SVGAngleTearOff.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/svg/SVGAngleTearOff.h
diff --git a/third_party/WebKit/Source/core/svg/SVGAngleTearOff.h b/third_party/WebKit/Source/core/svg/SVGAngleTearOff.h
index 12472ca196af0797e486a7234e455f4493748fee..7bd77a568356bc5cc4c80ad33d8d4e740b11992c 100644
--- a/third_party/WebKit/Source/core/svg/SVGAngleTearOff.h
+++ b/third_party/WebKit/Source/core/svg/SVGAngleTearOff.h
@@ -42,14 +42,14 @@ class SVGAngleTearOff final : public SVGPropertyTearOff<SVGAngle>,
DEFINE_WRAPPERTYPEINFO();
public:
- static SVGAngleTearOff* Create(
- SVGAngle* target,
- SVGElement* context_element,
- PropertyIsAnimValType property_is_anim_val,
- const QualifiedName& attribute_name = QualifiedName::Null()) {
+ static SVGAngleTearOff* Create(SVGAngle* target,
+ SVGElement* context_element,
+ PropertyIsAnimValType property_is_anim_val,
+ const QualifiedName& attribute_name) {
return new SVGAngleTearOff(target, context_element, property_is_anim_val,
attribute_name);
}
+ static SVGAngleTearOff* CreateDetached();
enum {
kSvgAngletypeUnknown = SVGAngle::kSvgAngletypeUnknown,
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/svg/SVGAngleTearOff.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698