mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1077120 - Remove gfxContext::HasError(). r=Bas
This commit is contained in:
parent
c8a1b987fc
commit
2e51cb3a0f
@ -1159,13 +1159,6 @@ gfxContext::PointInStroke(const gfxPoint& pt)
|
||||
Matrix());
|
||||
}
|
||||
|
||||
bool
|
||||
gfxContext::HasError()
|
||||
{
|
||||
// As far as this is concerned, an Azure context is never in error.
|
||||
return false;
|
||||
}
|
||||
|
||||
void
|
||||
gfxContext::RoundedRectangle(const gfxRect& rect,
|
||||
const gfxCornerSizes& corners,
|
||||
|
@ -84,11 +84,6 @@ public:
|
||||
|
||||
mozilla::gfx::DrawTarget *GetDrawTarget() { return mDT; }
|
||||
|
||||
/**
|
||||
* Returns true if the cairo context is in an error state.
|
||||
*/
|
||||
bool HasError();
|
||||
|
||||
/**
|
||||
** State
|
||||
**/
|
||||
|
@ -619,8 +619,6 @@ nsDisplayOuterSVG::Paint(nsDisplayListBuilder* aBuilder,
|
||||
nsSVGUtils::PaintFrameWithEffects(mFrame, aContext, tm, &contentAreaDirtyRect);
|
||||
aContext->ThebesContext()->Restore();
|
||||
|
||||
NS_ASSERTION(!aContext->ThebesContext()->HasError(), "Cairo in error state");
|
||||
|
||||
#if defined(DEBUG) && defined(SVG_DEBUG_PAINT_TIMING)
|
||||
PRTime end = PR_Now();
|
||||
printf("SVG Paint Timing: %f ms\n", (end-start)/1000.0);
|
||||
|
Loading…
Reference in New Issue
Block a user