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

Unified Diff: Source/core/svg/SVGFitToViewBox.h

Issue 860063002: Initialize GC mixin bases only when leftmost vtable has been initialized. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 11 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: Source/core/svg/SVGFitToViewBox.h
diff --git a/Source/core/svg/SVGFitToViewBox.h b/Source/core/svg/SVGFitToViewBox.h
index 1e0daef3debc526f1f80bc4fb5fc9e3400e466f6..acf3076f049da66e2d30641e3295ea108744c276 100644
--- a/Source/core/svg/SVGFitToViewBox.h
+++ b/Source/core/svg/SVGFitToViewBox.h
@@ -73,7 +73,10 @@ public:
virtual void trace(Visitor*);
protected:
- explicit SVGFitToViewBox(SVGElement*, PropertyMapPolicy = PropertyMapPolicyAdd);
+ SVGFitToViewBox();
+
+ void initialize(SVGElement* contextElement, PropertyMapPolicy = PropertyMapPolicyAdd);
+
void updateViewBox(const FloatRect&);
void clearViewBox() { m_viewBox = nullptr; }
void clearPreserveAspectRatio() { m_preserveAspectRatio = nullptr; }

Powered by Google App Engine
This is Rietveld 408576698