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

Unified Diff: third_party/WebKit/Source/core/svg/SVGPointListTearOff.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/SVGPointListTearOff.h
diff --git a/third_party/WebKit/Source/core/svg/SVGPointListTearOff.h b/third_party/WebKit/Source/core/svg/SVGPointListTearOff.h
index d1bda31126b51bc4ca8b4f0169a11b0012c54d10..db3e349498509c23e4a829a31899d763f017854a 100644
--- a/third_party/WebKit/Source/core/svg/SVGPointListTearOff.h
+++ b/third_party/WebKit/Source/core/svg/SVGPointListTearOff.h
@@ -42,11 +42,10 @@ class SVGPointListTearOff final
DEFINE_WRAPPERTYPEINFO();
public:
- static SVGPointListTearOff* Create(
- SVGPointList* target,
- SVGElement* context_element,
- PropertyIsAnimValType property_is_anim_val,
- const QualifiedName& attribute_name = QualifiedName::Null()) {
+ static SVGPointListTearOff* Create(SVGPointList* target,
+ SVGElement* context_element,
+ PropertyIsAnimValType property_is_anim_val,
+ const QualifiedName& attribute_name) {
return new SVGPointListTearOff(target, context_element,
property_is_anim_val, attribute_name);
}
@@ -56,11 +55,10 @@ class SVGPointListTearOff final
}
private:
- SVGPointListTearOff(
- SVGPointList* target,
- SVGElement* context_element,
- PropertyIsAnimValType property_is_anim_val,
- const QualifiedName& attribute_name = QualifiedName::Null())
+ SVGPointListTearOff(SVGPointList* target,
+ SVGElement* context_element,
+ PropertyIsAnimValType property_is_anim_val,
+ const QualifiedName& attribute_name)
: SVGListPropertyTearOffHelper<SVGPointListTearOff, SVGPointList>(
target,
context_element,
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGPathElement.cpp ('k') | third_party/WebKit/Source/core/svg/SVGPointTearOff.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698