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

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

Issue 2858913002: Simplify the SVGGraphicsElement ...CTM methods (Closed)
Patch Set: Created 3 years, 8 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/SVGGraphicsElement.h
diff --git a/third_party/WebKit/Source/core/svg/SVGGraphicsElement.h b/third_party/WebKit/Source/core/svg/SVGGraphicsElement.h
index f84fa241e5ea63f00f27493dcedaff2ddff2f3b4..ff000b02658b5fd0889495273b93b3f34632dbda 100644
--- a/third_party/WebKit/Source/core/svg/SVGGraphicsElement.h
+++ b/third_party/WebKit/Source/core/svg/SVGGraphicsElement.h
@@ -41,12 +41,8 @@ class CORE_EXPORT SVGGraphicsElement : public SVGElement, public SVGTests {
public:
~SVGGraphicsElement() override;
- enum StyleUpdateStrategy { kAllowStyleUpdate, kDisallowStyleUpdate };
-
- AffineTransform GetCTM(StyleUpdateStrategy = kAllowStyleUpdate);
- AffineTransform GetScreenCTM(StyleUpdateStrategy = kAllowStyleUpdate);
- SVGMatrixTearOff* getCTMFromJavascript();
- SVGMatrixTearOff* getScreenCTMFromJavascript();
+ SVGMatrixTearOff* getCTM();
+ SVGMatrixTearOff* getScreenCTM();
SVGElement* nearestViewportElement() const;
SVGElement* farthestViewportElement() const;
@@ -64,8 +60,7 @@ class CORE_EXPORT SVGGraphicsElement : public SVGElement, public SVGTests {
SVGAnimatedTransformList* transform() { return transform_.Get(); }
const SVGAnimatedTransformList* transform() const { return transform_.Get(); }
- AffineTransform ComputeCTM(SVGElement::CTMScope mode,
- SVGGraphicsElement::StyleUpdateStrategy,
+ AffineTransform ComputeCTM(CTMScope mode,
const SVGGraphicsElement* ancestor = 0) const;
DECLARE_VIRTUAL_TRACE();

Powered by Google App Engine
This is Rietveld 408576698