Closed Bug 350071 Opened 18 years ago Closed 18 years ago

nsISVGRendererCanvas uses non-scriptable nsISVGRendererSurface and nsPresContext

Categories

(Core :: SVG, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 339863

People

(Reporter: jhpedemonte, Unassigned)

References

Details

Attachments

(1 file)

Got these errors when building JavaXPCOM on the trunk: ../../../../_javagen/default/org/mozilla/xpcom/nsISVGRendererCanvas.java:35: cannot find symbol symbol : class nsPresContext location: interface org.mozilla.xpcom.nsISVGRendererCanvas nsPresContext getPresContext(); ^ ../../../../_javagen/default/org/mozilla/xpcom/nsISVGRendererCanvas.java:83: cannot find symbol symbol : class nsISVGRendererSurface location: interface org.mozilla.xpcom.nsISVGRendererCanvas void pushSurface(nsISVGRendererSurface surface, boolean isSubSurface); ^ ../../../../_javagen/default/org/mozilla/xpcom/nsISVGRendererCanvas.java:95: cannot find symbol symbol : class nsISVGRendererSurface location: interface org.mozilla.xpcom.nsISVGRendererCanvas void compositeSurface(nsISVGRendererSurface surface, float opacity); ^ ../../../../_javagen/default/org/mozilla/xpcom/nsISVGRendererCanvas.java:97: cannot find symbol symbol : class nsISVGRendererSurface location: interface org.mozilla.xpcom.nsISVGRendererCanvas void compositeSurfaceWithMask(nsISVGRendererSurface surface, nsISVGRendererSurface mask); ^ ../../../../_javagen/default/org/mozilla/xpcom/nsISVGRendererCanvas.java:97: cannot find symbol symbol : class nsISVGRendererSurface location: interface org.mozilla.xpcom.nsISVGRendererCanvas void compositeSurfaceWithMask(nsISVGRendererSurface surface, nsISVGRendererSurface mask); ^ ../../../../_javagen/default/org/mozilla/xpcom/nsISVGRendererCanvas.java:99: cannot find symbol symbol : class nsISVGRendererSurface location: interface org.mozilla.xpcom.nsISVGRendererCanvas void compositeSurfaceMatrix(nsISVGRendererSurface surface, nsIDOMSVGMatrix canvasTM, float opacity); ^ The interface nsISVGRendererCanvas is set as "scriptable", but none of the other nsISVGRender* interfaces are. So I'm thinking we should remove "scriptable" form nsISVGRendererCanvas. What do you think, Tim?
Blocks: 337723
Attached patch patchSplinter Review
Attachment #235271 - Flags: review?(tor)
Well, color me stupid. Looks like I missed this one file when I checked in the patch from bug 339863. *** This bug has been marked as a duplicate of 339863 ***
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
Attachment #235271 - Flags: review?(tor)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: