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

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

Issue 2853223002: getScreenCTM on <use> should not include the additional translation (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/SVGElement.h
diff --git a/third_party/WebKit/Source/core/svg/SVGElement.h b/third_party/WebKit/Source/core/svg/SVGElement.h
index ce0dc87910a5514cee884d89f1351baae32e7d29..b4005f6c112dcaa4bb581499162dacd47bf6a0e8 100644
--- a/third_party/WebKit/Source/core/svg/SVGElement.h
+++ b/third_party/WebKit/Source/core/svg/SVGElement.h
@@ -83,9 +83,10 @@ class CORE_EXPORT SVGElement : public Element {
enum CTMScope {
kNearestViewportScope, // Used by SVGGraphicsElement::getCTM()
+ kScreenScope, // Used by SVGGraphicsElement::getScreenCTM()
kAncestorScope // Used by SVGSVGElement::get{Enclosure|Intersection}List()
};
- virtual AffineTransform LocalCoordinateSpaceTransform() const;
+ virtual AffineTransform LocalCoordinateSpaceTransform(CTMScope) const;
virtual bool NeedsPendingResourceHandling() const { return true; }
bool InstanceUpdatesBlocked() const;

Powered by Google App Engine
This is Rietveld 408576698