Closed Bug 506409 Opened 15 years ago Closed 15 years ago

Remove Draw*ImageInternal from nsLayoutUtils

Categories

(Core :: Layout, defect)

defect
Not set
minor

Tracking

()

RESOLVED FIXED

People

(Reporter: rkawaguchi, Assigned: rkawaguchi)

Details

Attachments

(1 file)

This is a follow-up bug for bug 753.

As a consequence of bug 753, Draw*ImageInternal()'s are no longer necessary and should be merged into Draw*Image()'s.
Attached patch patchSplinter Review
Remove DrawSingleUnscaledImageInternal and DrawSingleImageInternal.
Remove an irrelevant comment.

I ended up not removing DrawImageInternal(). Each of Draw*Image() returns NS_ERROR_FAILURE when an image to draw has zero size since imgContainer::Init() does not allow zero-sized images to begin with.
Attachment #390617 - Flags: review?(roc)
http://hg.mozilla.org/mozilla-central/rev/695b882e085a
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
Component: Layout: Misc Code → Layout
Product: Core Graveyard → Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: