Open Bug 1435357 Opened 6 years ago Updated 2 years ago

Ensure that the DrawTarget returned by nsDeviceContext::CreateReferenceRenderingContext is never drawn to

Categories

(Core :: Graphics, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: jwatt, Unassigned)

Details

(Whiteboard: gfx-noted)

Follow-up from bug 1435286 comment 3.

We should make sure that the DrawTarget returned by PrintTarget::GetReferenceDrawTarget, or more generally the DrawTarget returned by nsDeviceContext::CreateReferenceRenderingContext, is only used for measuring. I guess we'd need to create a DEBUG-only wrapper that asserts in the drawing methods.
Whiteboard: gfx-noted
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.