mirror of
https://github.com/zen-browser/desktop.git
synced 2026-05-27 15:25:09 +00:00
gh-13844: Part 2 - Fixed boosts not working for linear gradients (gh-13882)
Signed-off-by: mr. m <91018726+mr-cheffy@users.noreply.github.com>
This commit is contained in:
13
src/accessible/windows/ia2/ia2AccessibleComponent-cpp.patch
Normal file
13
src/accessible/windows/ia2/ia2AccessibleComponent-cpp.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
diff --git a/accessible/windows/ia2/ia2AccessibleComponent.cpp b/accessible/windows/ia2/ia2AccessibleComponent.cpp
|
||||
index 7837fdee3db339543f8b3d95dcb23ebe99aed8dc..207adf3ded9848b84ec89e94f80e8e02f161923c 100644
|
||||
--- a/accessible/windows/ia2/ia2AccessibleComponent.cpp
|
||||
+++ b/accessible/windows/ia2/ia2AccessibleComponent.cpp
|
||||
@@ -81,7 +81,7 @@ ia2AccessibleComponent::get_foreground(IA2Color* aForeground) {
|
||||
if (!acc) return CO_E_OBJNOTCONNECTED;
|
||||
|
||||
nsIFrame* frame = acc->GetFrame();
|
||||
- if (frame) *aForeground = frame->StyleText()->mColor.ToColor();
|
||||
+ if (frame) *aForeground = frame->StyleText()->mColor.ToColor(frame);
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
Reference in New Issue
Block a user