Closed
Bug 186938
Opened 22 years ago
Closed 22 years ago
#if 0 code in nsBlender.cpp
Categories
(Core Graveyard :: GFX, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla1.3beta
People
(Reporter: Biesinger, Assigned: Biesinger)
Details
(Whiteboard: [whitebox])
Attachments
(1 file)
13.54 KB,
patch
|
roc
:
review+
roc
:
superreview+
|
Details | Diff | Splinter Review |
nsBlender.cpp has an entire function in an #if 0 block (well only the function
body is in #if 0), and the only caller also in an #if 0 block
The function is Do8Blend, see
http://lxr.mozilla.org/seamonkey/search?string=Do8Blend and follow the links to
nsBlender.cpp
It looks like the if 0 was introduced by pavlov in bug 78690...
When this code is removed, the forward declaration of IL_ColorSpace in
nsBlender.h can also go.
Assignee | ||
Comment 1•22 years ago
|
||
oh, as a matter of fact, even more code can be removed. I'll attach a patch soon.
Assignee | ||
Comment 2•22 years ago
|
||
Assignee | ||
Updated•22 years ago
|
Attachment #110245 -
Flags: review?(kmcclusk)
Assignee | ||
Updated•22 years ago
|
Attachment #110245 -
Flags: superreview?(roc+moz)
Assignee | ||
Updated•22 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Updated•22 years ago
|
Priority: -- → P2
Target Milestone: --- → mozilla1.3beta
Comment on attachment 110245 [details] [diff] [review]
patch
r+sr=roc+moz
This code doesn't work anymore anyway. If we need to get it back later we can
recover it from CVS history.
Attachment #110245 -
Flags: superreview?(roc+moz)
Attachment #110245 -
Flags: superreview+
Attachment #110245 -
Flags: review?(kmcclusk)
Attachment #110245 -
Flags: review+
Assignee | ||
Comment 4•22 years ago
|
||
ok, the patch is checked in
tinderbox shows 2.5 KB Codesize reduction :)
Now... the aBlendQuality argument seems to be completely ignored by the Do*Blend
functions. roc, do you think we should keep it anyway, or should I remove it?
leaving the bug open for that issue.
Updated•22 years ago
|
Whiteboard: [whitebox]
It's not worth playing with nsIBlender at this time. nsIBlender should be
removed, and its functionality moved to nsIRenderingContext or possibly
nsIDrawingSurface.
Assignee | ||
Comment 6•22 years ago
|
||
ok then, marking fixed.
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Comment 7•22 years ago
|
||
Robert O'Callahan wrote:
> It's not worth playing with nsIBlender at this time. nsIBlender should be
> removed, and its functionality moved to nsIRenderingContext or possibly
> nsIDrawingSurface.
What's the bugid for that work ?
No specific bugid, but it's part of bug 186293.
Updated•16 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•