mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1207944 (part 9) - Remove SetColor(const gfxRGBA&). r=jwatt.
This commit is contained in:
parent
922506e090
commit
f27f30a136
@ -706,15 +706,6 @@ gfxContext::ClipContainsRect(const gfxRect& aRect)
|
||||
|
||||
// rendering sources
|
||||
|
||||
void
|
||||
gfxContext::SetColor(const gfxRGBA& aColor)
|
||||
{
|
||||
CurrentState().pattern = nullptr;
|
||||
CurrentState().sourceSurfCairo = nullptr;
|
||||
CurrentState().sourceSurface = nullptr;
|
||||
CurrentState().color = ToDeviceColor(aColor);
|
||||
}
|
||||
|
||||
void
|
||||
gfxContext::SetColor(const Color& aColor)
|
||||
{
|
||||
|
@ -269,7 +269,6 @@ public:
|
||||
* If CMS is not enabled, the color is treated as a device-space color
|
||||
* and this call is identical to SetDeviceColor().
|
||||
*/
|
||||
void SetColor(const gfxRGBA& aColor);
|
||||
void SetColor(const mozilla::gfx::Color& aColor);
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user