From 8dd16259287f58f9273002717ec4d27e97127719 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 12 Jun 2024 07:43:14 +0200 Subject: Merging upstream version 127.0. Signed-off-by: Daniel Baumann --- dom/svg/SVGGraphicsElement.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'dom/svg/SVGGraphicsElement.cpp') 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 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 mat = m.IsSingular() ? nullptr : new SVGMatrix(ThebesMatrix(m)); return mat.forget(); @@ -140,7 +140,7 @@ already_AddRefed 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 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; -- cgit v1.2.3