Closed Bug 769514 Opened 12 years ago Closed 12 years ago

Kill the Mac bitmap fallback code in nsSVGOuterSVGFrame

Categories

(Core :: SVG, defect)

All
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla16

People

(Reporter: jwatt, Assigned: jwatt)

References

Details

Attachments

(1 file)

Roc tells me that with Layers we shouldn't be drawing direct to the window, so it seems like the bitmap fallback code in nsSVGOuterSVGFrame is useless and should just be removed.
Attached patch patchSplinter Review
Attachment #637750 - Flags: review?(roc)
Err, ignore the nsSVGGlyphFrame.cpp change.
Just for record keeping, this was previously tried in bug 411334.
Comment on attachment 637750 [details] [diff] [review]
patch

Review of attachment 637750 [details] [diff] [review]:
-----------------------------------------------------------------

R+ with that

::: layout/svg/base/src/nsSVGOuterSVGFrame.cpp
@@ +492,5 @@
>  #endif
>  
>    aContext->PushState();
> +  frame->Paint(aBuilder, aContext, mVisibleRect, ToReferenceFrame());
> +  aContext->PopState();

we shouldn't need this PushState/PopState pair. Try removing it.
Attachment #637750 - Flags: review?(roc) → review+
Blocks: 614732
https://hg.mozilla.org/mozilla-central/rev/caaf9085c7d8
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Depends on: 772313
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: