Bug 1207944 (part 9) - Remove SetColor(const gfxRGBA&). r=jwatt.

This commit is contained in:
Nicholas Nethercote 2015-09-24 00:48:15 -07:00
parent 922506e090
commit f27f30a136
2 changed files with 0 additions and 10 deletions

View File

@ -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)
{

View File

@ -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);
/**