mirror of
https://github.com/zen-browser/desktop.git
synced 2026-06-21 18:33:22 +00:00
15 lines
652 B
C++
15 lines
652 B
C++
diff --git a/image/AutoRestoreSVGState.h b/image/AutoRestoreSVGState.h
|
|
index be639a7b78c13c2d56be49a9690bf711ccaf0a8f..28bea58034ead1206d77521934e92d3a69bfd84b 100644
|
|
--- a/image/AutoRestoreSVGState.h
|
|
+++ b/image/AutoRestoreSVGState.h
|
|
@@ -47,6 +47,9 @@ class MOZ_STACK_CLASS AutoRestoreSVGState final {
|
|
}
|
|
return dom::PrefersColorSchemeOverride::None;
|
|
}());
|
|
+ pc->SetZenBoostsOverride(aSVGContext.GetZenBoostsAccent(),
|
|
+ aSVGContext.GetZenBoostsComplementaryRotation(),
|
|
+ aSVGContext.GetZenBoostsInverted());
|
|
}
|
|
|
|
aSVGDocumentWrapper->mIsDrawing = true;
|