Index: third_party/WebKit/Source/core/svg/SVGSVGElement.h |
diff --git a/third_party/WebKit/Source/core/svg/SVGSVGElement.h b/third_party/WebKit/Source/core/svg/SVGSVGElement.h |
index b9d053fa3fb58fe26652ecc9887f1211d5a3e9ec..076dd250434f236c1ee477013d6421e1d83298c3 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGSVGElement.h |
+++ b/third_party/WebKit/Source/core/svg/SVGSVGElement.h |
@@ -65,7 +65,7 @@ public: |
FloatSize currentViewportSize() const; |
FloatRect currentViewBoxRect() const; |
- float currentScale() const; |
+ float currentScale() const { return m_currentScale; } |
fs
2016/03/31 10:53:04
Here we rely on the setter gating access and hence
Shanmuga Pandi
2016/03/31 11:53:35
Right!! Thanks for pointing out. Done
|
void setCurrentScale(float scale); |
FloatPoint currentTranslate() { return m_translation->value(); } |
@@ -161,6 +161,7 @@ private: |
RefPtrWillBeMember<SMILTimeContainer> m_timeContainer; |
RefPtrWillBeMember<SVGPoint> m_translation; |
RefPtrWillBeMember<SVGViewSpec> m_viewSpec; |
+ float m_currentScale; |
friend class SVGCurrentTranslateTearOff; |
}; |