summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/core/svg/svg_preserve_aspect_ratio.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/core/svg/svg_preserve_aspect_ratio.h')
-rw-r--r--chromium/third_party/blink/renderer/core/svg/svg_preserve_aspect_ratio.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/chromium/third_party/blink/renderer/core/svg/svg_preserve_aspect_ratio.h b/chromium/third_party/blink/renderer/core/svg/svg_preserve_aspect_ratio.h
index 8aa69f0d98c..24750bea9ff 100644
--- a/chromium/third_party/blink/renderer/core/svg/svg_preserve_aspect_ratio.h
+++ b/chromium/third_party/blink/renderer/core/svg/svg_preserve_aspect_ratio.h
@@ -56,9 +56,11 @@ class SVGPreserveAspectRatio final
typedef SVGPreserveAspectRatioTearOff TearOffType;
static SVGPreserveAspectRatio* Create() {
- return new SVGPreserveAspectRatio();
+ return MakeGarbageCollected<SVGPreserveAspectRatio>();
}
+ SVGPreserveAspectRatio();
+
virtual SVGPreserveAspectRatio* Clone() const;
bool operator==(const SVGPreserveAspectRatio&) const;
@@ -106,8 +108,6 @@ class SVGPreserveAspectRatio final
void SetDefault();
private:
- SVGPreserveAspectRatio();
-
template <typename CharType>
SVGParsingError ParseInternal(const CharType*& ptr,
const CharType* end,