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

Unified Diff: third_party/WebKit/Source/core/svg/SVGSVGElement.h

Issue 1827793003: Support currentScale for embedded SVG (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Align with review comments Created 4 years, 9 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/SVGSVGElement.h
diff --git a/third_party/WebKit/Source/core/svg/SVGSVGElement.h b/third_party/WebKit/Source/core/svg/SVGSVGElement.h
index b9d053fa3fb58fe26652ecc9887f1211d5a3e9ec..6df47121bc01acc868ededb36d25e205f2cd0c00 100644
--- a/third_party/WebKit/Source/core/svg/SVGSVGElement.h
+++ b/third_party/WebKit/Source/core/svg/SVGSVGElement.h
@@ -138,7 +138,7 @@ private:
void inheritViewAttributes(SVGViewElement*);
- void updateCurrentTranslate();
+ void updateUserTransform();
void finishParsingChildren() override;
@@ -161,6 +161,7 @@ private:
RefPtrWillBeMember<SMILTimeContainer> m_timeContainer;
RefPtrWillBeMember<SVGPoint> m_translation;
RefPtrWillBeMember<SVGViewSpec> m_viewSpec;
+ float m_currentScale;
friend class SVGCurrentTranslateTearOff;
};
« no previous file with comments | « third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp ('k') | third_party/WebKit/Source/core/svg/SVGSVGElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698