summaryrefslogtreecommitdiffstats
path: root/dom/svg/SVGGraphicsElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dom/svg/SVGGraphicsElement.cpp')
-rw-r--r--dom/svg/SVGGraphicsElement.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/dom/svg/SVGGraphicsElement.cpp b/dom/svg/SVGGraphicsElement.cpp
index 29b6b76728..52bb023e61 100644
--- a/dom/svg/SVGGraphicsElement.cpp
+++ b/dom/svg/SVGGraphicsElement.cpp
@@ -129,7 +129,7 @@ already_AddRefed<SVGMatrix> SVGGraphicsElement::GetCTM() {
// Flush all pending notifications so that our frames are up to date
currentDoc->FlushPendingNotifications(FlushType::Layout);
}
- gfx::Matrix m = SVGContentUtils::GetCTM(this, false);
+ gfx::Matrix m = SVGContentUtils::GetCTM(this);
RefPtr<SVGMatrix> mat =
m.IsSingular() ? nullptr : new SVGMatrix(ThebesMatrix(m));
return mat.forget();
@@ -140,7 +140,7 @@ already_AddRefed<SVGMatrix> SVGGraphicsElement::GetScreenCTM() {
// Flush all pending notifications so that our frames are up to date
currentDoc->FlushPendingNotifications(FlushType::Layout);
}
- gfx::Matrix m = SVGContentUtils::GetCTM(this, true);
+ gfx::Matrix m = SVGContentUtils::GetScreenCTM(this);
RefPtr<SVGMatrix> mat =
m.IsSingular() ? nullptr : new SVGMatrix(ThebesMatrix(m));
return mat.forget();
@@ -164,7 +164,7 @@ bool SVGGraphicsElement::IsSVGFocusable(bool* aIsFocusable,
return false;
}
-Focusable SVGGraphicsElement::IsFocusableWithoutStyle(bool aWithMouse) {
+Focusable SVGGraphicsElement::IsFocusableWithoutStyle(IsFocusableFlags) {
Focusable result;
IsSVGFocusable(&result.mFocusable, &result.mTabIndex);
return result;